1 | <?php |
||
23 | class AliceORMContext extends AbstractAliceContext |
||
24 | { |
||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public function createSchema() |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function dropSchema() |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function emptyDatabase() |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | protected function getPersister() |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | protected function getFixturesFinder() |
||
65 | |||
66 | /** |
||
67 | * @return SchemaTool |
||
68 | */ |
||
69 | private function getSchemaTool() |
||
73 | |||
74 | /** |
||
75 | * @return ClassMetadata[] |
||
76 | */ |
||
77 | private function getAllMetadatas() |
||
81 | |||
82 | /** |
||
83 | * @return EntityManagerInterface |
||
84 | */ |
||
85 | private function getEntityManager() |
||
89 | } |
||
90 |
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: