Update Definition.php
parent
67f44c7d92
commit
1718dc394d
|
@ -105,7 +105,7 @@ class Definition
|
||||||
* @param bool $includeSelf should the first yielded value be the current definition itself
|
* @param bool $includeSelf should the first yielded value be the current definition itself
|
||||||
* @return Generator
|
* @return Generator
|
||||||
*/
|
*/
|
||||||
public function getAncestorDefinitions(ReadableIndex $index, bool $includeSelf = false) : Generator
|
public function getAncestorDefinitions(ReadableIndex $index, bool $includeSelf = false): Generator
|
||||||
{
|
{
|
||||||
if ($includeSelf) {
|
if ($includeSelf) {
|
||||||
yield $this->fqn => $this;
|
yield $this->fqn => $this;
|
||||||
|
|
Loading…
Reference in New Issue