1 | <?php |
||
13 | class ConfigFileCacheWarmerTest extends \PHPUnit_Framework_TestCase |
||
14 | { |
||
15 | /** |
||
16 | * @var ConfigFileCacheWarmer |
||
17 | */ |
||
18 | protected $warmer; |
||
19 | |||
20 | protected $query; |
||
21 | |||
22 | /** |
||
23 | * Set up the test |
||
24 | */ |
||
25 | 3 | public function setUp() |
|
31 | |||
32 | /** |
||
33 | * Test instance |
||
34 | */ |
||
35 | 1 | public function testInstance() |
|
39 | |||
40 | /** |
||
41 | * Test query call |
||
42 | */ |
||
43 | 1 | public function testWarmup() |
|
49 | |||
50 | /** |
||
51 | * Test optionnal |
||
52 | */ |
||
53 | 1 | public function testIsOptional() |
|
57 | } |
||
58 |
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: