It seems like $options defined by parameter $options on line 21 can also be of type null; however, DoctrineModule\Validator...actory::getRepository() does only seem to accept array, 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...
26
27
2
$validator = new NoObjectExists($this->merge($options, [
It seems like $options defined by parameter $options on line 21 can also be of type null; however, DoctrineModule\Validator...lidatorFactory::merge() does only seem to accept array, 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.
It seems like $options defined by parameter $options on line 21 can also be of type null; however, DoctrineModule\Validator...torFactory::getFields() does only seem to accept array, 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.
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.