| 1 | <?php |
||
| 14 | class FingersCrossedHandlerFactory implements FactoryInterface, HandlerManagerAwareInterface, ContainerAwareInterface |
||
| 15 | { |
||
| 16 | use ContainerTrait; |
||
| 17 | use HandlerManagerTrait; |
||
| 18 | |||
| 19 | 3 | public function __invoke(array $options) |
|
| 37 | |||
| 38 | 3 | protected function getActivationStrategy($options) |
|
| 52 | } |
||
| 53 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: