It seems like $ignoredUris of type array<integer,object<string>> is incompatible with the declared type array<integer,string> of property $ignoredUris.
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...
29
4
$this->tokenService = $tokenService;
30
4
}
31
32
33
/**
34
* @param callable $handler
35
* @return \Closure
36
*/
37
public function __invoke(callable $handler): \Closure
38
{
39
3
return function (RequestInterface $request, array $options) use ($handler) {
40
2
$uri = (string) $request->getUri();
41
2
if (!$this->shouldSkipAuthorizationForUri($uri)) {
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..