| 1 | <?php |
||
| 11 | class NavigateToOrder implements ConfigurableNavigatorInterface |
||
| 12 | { |
||
| 13 | const NAVIGATOR = 'Customer\NavigateToOrder'; |
||
| 14 | protected $webDriver; |
||
| 15 | protected $accountNavigator; |
||
| 16 | protected $themeConfiguration; |
||
| 17 | protected $loaded; |
||
| 18 | |||
| 19 | public function __construct( |
||
| 31 | |||
| 32 | public function navigateTo($orderId) |
||
| 47 | |||
| 48 | } |
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: