It seems like $options defined by parameter $options on line 23 can also be of type array; however, DoctrineModule\Validator...actory::getRepository() does only seem to accept array<integer,*>|null, maybe add an additional type check?
This check looks at variables that have been passed in as parameters and are passed out again
to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.
Loading history...
28
29
2
return new NoObjectExists($this->merge($options, [
This check looks at variables that have been passed in as parameters and are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.