1 | <?php |
||
14 | final class MultiCsFileLoader implements MultiCsFileLoaderInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $multiCsJsonFile; |
||
20 | |||
21 | /** |
||
22 | * @param string $multiCsJsonFile |
||
23 | */ |
||
24 | 11 | public function __construct($multiCsJsonFile) |
|
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | 11 | public function load() |
|
39 | |||
40 | /** |
||
41 | * @param string $multiCsJsonFile |
||
42 | */ |
||
43 | 11 | private function ensureFileExists($multiCsJsonFile) |
|
54 | } |
||
55 |
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: