From 9b30b437a52b74979b9cf58405f8bf88337e81c2 Mon Sep 17 00:00:00 2001 From: marcel-burkhard Date: Tue, 28 Apr 2015 22:31:49 +0200 Subject: [PATCH] Update DefaultFileLocator.php It is implicit that a file extension needs a dot, thus it is unclear that we need to supply it in $fileExtension. I actually wasted quite some time trying to figure out what I'm doing wrong. --- .../Common/Persistence/Mapping/Driver/DefaultFileLocator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Common/Persistence/Mapping/Driver/DefaultFileLocator.php b/lib/Doctrine/Common/Persistence/Mapping/Driver/DefaultFileLocator.php index 6a9e27647..58a740b57 100644 --- a/lib/Doctrine/Common/Persistence/Mapping/Driver/DefaultFileLocator.php +++ b/lib/Doctrine/Common/Persistence/Mapping/Driver/DefaultFileLocator.php @@ -51,7 +51,7 @@ class DefaultFileLocator implements FileLocator * documents and operates in the specified operating mode. * * @param string|array $paths One or multiple paths where mapping documents can be found. - * @param string|null $fileExtension The file extension of mapping documents. + * @param string|null $fileExtension The file extension of mapping documents, usually prefixed with a dot. */ public function __construct($paths, $fileExtension = null) {