It seems like $targetOrigins of type array<integer,array<inte...argetOriginInterface>>> is incompatible with the declared type array<integer,object<The...TargetOriginInterface>> of property $targetOrigins.
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...
21
}
22
23
/**
24
* Returns an array of allowed domain names.
25
* If the "source" origin matches one of these origins, the request is valid.
26
*
27
* @return string[]
28
*/
29
public function __invoke(ServerRequestInterface $request): array
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..