1 | <?php |
||
22 | class AliceODMContext extends AbstractAliceContext |
||
23 | { |
||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | public function createSchema() |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function dropSchema() |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function emptyDatabase() |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | protected function getPersister() |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | protected function getFixturesFinder() |
||
70 | |||
71 | /** |
||
72 | * @return SchemaManager |
||
73 | */ |
||
74 | private function getSchemaManager() |
||
78 | |||
79 | /** |
||
80 | * @return DocumentManager |
||
81 | */ |
||
82 | private function getDocumentManager() |
||
86 | } |
||
87 |
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: