1 | <?php |
||
21 | trait RepositoryContext |
||
22 | { |
||
23 | /** |
||
24 | * Default Administrator user id. |
||
25 | */ |
||
26 | private $adminUserId = 14; |
||
27 | |||
28 | /** |
||
29 | * @var eZ\Publish\API\Repository\Repository |
||
30 | */ |
||
31 | private $repository; |
||
32 | |||
33 | /** |
||
34 | * @param $repository eZ\Publish\API\Repository\Repository $repository |
||
35 | */ |
||
36 | protected function setRepository(Repository $repository) |
||
40 | |||
41 | /** |
||
42 | * @return eZ\Publish\API\Repository\Repository $repository |
||
43 | */ |
||
44 | public function getRepository() |
||
48 | |||
49 | /** |
||
50 | * @BeforeScenario |
||
51 | */ |
||
52 | public function loginAdmin($event) |
||
56 | } |
||
57 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..