Skip to content

Commit 5e5d589

Browse files
committed
Update readme example
1 parent 71572c7 commit 5e5d589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ By default the php7 parser is prefered. And php5 is used as a fallback. See the
5959

6060
At this point we are ready to analyze your complete project or just one file at the time. Just pass an array of file paths to the `create` method of the project factory.
6161

62-
$projectFiles = ['tests/example.file.php'];
62+
$projectFiles = [\phpDocumentor\Reflection\File\LocalFile('tests/example.file.php')];
6363
$project = $projectFactory->create('My Project', $projectFiles);
6464

6565
When the process is ready a new object of type `phpDocumentor\Reflection\Php\Project` will be returned that

0 commit comments

Comments
 (0)