Late static factory method
This commit is contained in:
parent
9f157a1616
commit
9dc20116e3
|
@ -66,7 +66,7 @@ class Finder implements \IteratorAggregate, \Countable
|
|||
*/
|
||||
public static function create()
|
||||
{
|
||||
return new self();
|
||||
return new static();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in New Issue