It seems like new class { function...e, $args) { } } of type object<WebStream\Annotat.../Base/Annotation.php$0> is incompatible with the declared type object<WebStream\Annotat...sr\Log\LoggerInterface> of property $logger.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Loading history...
28
137
$this->onInject($annotations);
29
137
}
30
31
/**
32
* Injected event
33
* @param array<string> アノテーションコンテナ
34
*/
35
abstract public function onInject(array $annotations);
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..