The expression return new CallbackFilte...ion(...) { /* ... */ }) returns the type CallbackFilterIterator which is incompatible with the documented return type array<mixed,PhpParser\Node\Name[]>|iterable.
Loading history...
76
6
new \RecursiveIteratorIterator(
77
6
new \RecursiveArrayIterator($this->symbols, \RecursiveArrayIterator::CHILD_ARRAYS_ONLY)