1 | <?php |
||
19 | class Repository implements RepositoryInterface |
||
20 | { |
||
21 | /** @var \eZ\Publish\API\Repository\Repository */ |
||
22 | protected $repository; |
||
23 | |||
24 | /** @var \eZ\Publish\API\Repository\ContentService */ |
||
25 | protected $contentService; |
||
26 | |||
27 | /** @var \eZ\Publish\API\Repository\SectionService */ |
||
28 | protected $sectionService; |
||
29 | |||
30 | /** @var \eZ\Publish\API\Repository\SearchService */ |
||
31 | protected $searchService; |
||
32 | |||
33 | /** @var \eZ\Publish\API\Repository\UserService */ |
||
34 | protected $userService; |
||
35 | |||
36 | /** @var \eZ\Publish\API\Repository\LanguageService */ |
||
37 | protected $languageService; |
||
38 | |||
39 | /** @var \eZ\Publish\API\Repository\LocationService */ |
||
40 | protected $locationService; |
||
41 | |||
42 | /** @var \eZ\Publish\API\Repository\TrashService */ |
||
43 | protected $trashService; |
||
44 | |||
45 | /** @var \eZ\Publish\API\Repository\ContentTypeService */ |
||
46 | protected $contentTypeService; |
||
47 | |||
48 | /** @var \eZ\Publish\API\Repository\ObjectStateService */ |
||
49 | protected $objectStateService; |
||
50 | |||
51 | /** @var \eZ\Publish\API\Repository\URLAliasService */ |
||
52 | protected $urlAliasService; |
||
53 | |||
54 | /** @var \eZ\Publish\Core\Repository\NotificationService */ |
||
55 | protected $notificationService; |
||
56 | |||
57 | /** |
||
58 | * Construct repository object from aggregated repository. |
||
59 | */ |
||
60 | public function __construct( |
||
87 | |||
88 | public function getCurrentUser() |
||
92 | |||
93 | public function getCurrentUserReference() |
||
97 | |||
98 | public function setCurrentUser(UserReference $user) |
||
102 | |||
103 | public function sudo(Closure $callback) |
||
107 | |||
108 | public function hasAccess($module, $function, UserReference $user = null) |
||
112 | |||
113 | public function canUser($module, $function, ValueObject $object, $targets = null) |
||
117 | |||
118 | public function getContentService() |
||
122 | |||
123 | public function getContentLanguageService() |
||
127 | |||
128 | public function getContentTypeService() |
||
132 | |||
133 | public function getLocationService() |
||
137 | |||
138 | public function getTrashService() |
||
142 | |||
143 | public function getSectionService() |
||
147 | |||
148 | public function getUserService() |
||
152 | |||
153 | public function getURLAliasService() |
||
157 | |||
158 | public function getURLWildcardService() |
||
162 | |||
163 | public function getObjectStateService() |
||
167 | |||
168 | public function getRoleService() |
||
172 | |||
173 | public function getSearchService() |
||
177 | |||
178 | public function getFieldTypeService() |
||
182 | |||
183 | public function getPermissionResolver() |
||
187 | |||
188 | public function getURLService() |
||
192 | |||
193 | public function getBookmarkService() |
||
197 | |||
198 | public function getNotificationService() |
||
202 | |||
203 | public function beginTransaction() |
||
207 | |||
208 | public function commit() |
||
212 | |||
213 | public function rollback() |
||
217 | } |
||
218 |
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..