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 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.