Skip to content

Commit a3f72c9

Browse files
committed
add docblock
1 parent d439ee9 commit a3f72c9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/phpDocumentor/Reflection/Php/ProjectFactory.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,14 @@ public function __construct($strategies)
3939
$this->strategies = new ProjectFactoryStrategies($strategies);
4040
}
4141

42+
/**
43+
* Creates a new instance of this factory. With all default strategies.
44+
*
45+
* @return static;
46+
*/
4247
public static function createInstance()
4348
{
44-
new ProjectFactory(
49+
return new static(
4550
[
4651
new Factory\Argument(),
4752
new Factory\Class_(),

0 commit comments

Comments
 (0)