| 1 | <?php |
||
| 15 | class RemoveController extends AbstractActionController |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var Dependencies |
||
| 19 | */ |
||
| 20 | protected $dependencies; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param ControllerManager $controllerManager |
||
| 24 | * @return \Auth\Controller\RemoveController |
||
| 25 | */ |
||
| 26 | public static function factory(ControllerManager $controllerManager) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param Dependencies $dependencies |
||
| 35 | */ |
||
| 36 | public function __construct(Dependencies $dependencies) |
||
| 40 | |||
| 41 | public function indexAction() |
||
| 59 | } |
||
| 60 |
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: