1 | <?php |
||
27 | class Admin extends AbstractAdmin |
||
28 | { |
||
29 | /** |
||
30 | * Path to the root node in the repository under which documents of this |
||
31 | * admin should be created. |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | private $rootPath; |
||
36 | |||
37 | /** |
||
38 | * Set the root path in the repository. To be able to create new items, |
||
39 | * this path must already exist. |
||
40 | * |
||
41 | * @param string $rootPath |
||
42 | */ |
||
43 | public function setRootPath($rootPath) |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getRootPath() |
||
55 | |||
56 | /** |
||
57 | * @param string $context |
||
58 | * |
||
59 | * @return ProxyQueryInterface |
||
60 | */ |
||
61 | public function createQuery($context = 'list') |
||
72 | |||
73 | /** |
||
74 | * @param object $object |
||
75 | * |
||
76 | * @return string |
||
77 | */ |
||
78 | public function id($object) |
||
82 | |||
83 | /** |
||
84 | * Get subject. |
||
85 | * |
||
86 | * Overridden to allow a broader set of valid characters in the ID, and |
||
87 | * if the ID is not a UUID, to call absolutizePath on the ID. |
||
88 | * |
||
89 | * @return mixed |
||
90 | */ |
||
91 | public function getSubject() |
||
107 | |||
108 | /** |
||
109 | * {@inheritdoc} |
||
110 | */ |
||
111 | public function toString($object) |
||
130 | |||
131 | /** |
||
132 | * @param RouteCollection $collection |
||
133 | */ |
||
134 | protected function configureRoutes(RouteCollection $collection) |
||
142 | } |
||
143 |
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..