Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function addConstraintValidator(ConstraintValidatorInterface $validator) |
||
23 | { |
||
24 | if ($validator instanceof IdentityProviderAwareInterface) { |
||
25 | $validator->setIdentityProvider($this->idpMetadata); |
||
26 | } |
||
27 | |||
28 | if ($validator instanceof ServiceProviderAwareInterface) { |
||
29 | $validator->setServiceProvider($this->spMetadata); |
||
30 | } |
||
31 | |||
32 | $this->validators[] = $validator; |
||
33 | } |
||
50 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.