The strict comparison !== seems to always evaluate to true as the types of $dependencyIndex (integer) and 'Ray\\Di\\InjectorInterface-' . \Ray\Di\Name::ANY (string) can never be identical. Maybe you want to use a loose comparison != instead?
Loading history...
34
if ($isNotInjector) {
35
$this->write($dependencyIndex);
36
}
37
}
38
}
39
40
private function write(string $dependencyIndex) : void
41
{
42
if ($dependencyIndex === 'Ray\Aop\MethodInvocation-') {