| 1 | <?php |
||
| 13 | class PropelAdapterTest extends TestCase |
||
| 14 | { |
||
| 15 | private $query; |
||
| 16 | /** |
||
| 17 | * @var PropelAdapter |
||
| 18 | */ |
||
| 19 | private $adapter; |
||
| 20 | |||
| 21 | protected function setUp() |
||
| 30 | |||
| 31 | private function isPropelNotAvaiable() |
||
| 35 | |||
| 36 | private function createQueryMock() |
||
| 43 | |||
| 44 | public function testGetQuery() |
||
| 48 | |||
| 49 | public function testGetNbResults() |
||
| 66 | |||
| 67 | public function testGetSlice() |
||
| 88 | } |
||
| 89 |
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: