It seems like $config->get('eventListener') of type * is incompatible with the declared type array<integer,object<Fau...vent\AbstractListener>> of property $listener.
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...
39
self::$instance = new self();
40
41
}
42
43
return self::$instance;
44
}
45
46
/**
47
* Trigger listeners if registered for the type
48
*
49
* @param AbstractEventType $eventType
50
*/
51
public function trigger(AbstractEventType $eventType)
52
{
53
foreach (self::$listener as $typeName => $listenerList) {
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..