File tree 2 files changed +2
-2
lines changed
src/phpDocumentor/Reflection/Php
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
$ projectFactory = \phpDocumentor \Reflection \Php \ProjectFactory::createInstance ();
23
23
24
24
// Create an array of files to analize.
25
- $ files = ['tests/example.file.php ' ];
25
+ $ files = [ new \ phpDocumentor \ Reflection \ File \ LocalFile ( 'tests/example.file.php ' ) ];
26
26
27
27
//create a new project 'MyProject' containing all elements in the files.
28
28
/** @var Project $project */
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public static function createInstance()
66
66
* Creates a project from the set of files.
67
67
*
68
68
* @param string $name
69
- * @param string [] $files
69
+ * @param \phpDocumentor\Reflection\File [] $files
70
70
* @return Project
71
71
* @throws Exception when no matching strategy was found.
72
72
*/
You can’t perform that action at this time.
0 commit comments