@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | /** |
245 | 245 | * Get the user service mock object. |
246 | 246 | * |
247 | - * @return \eZ\Publish\API\Repository\UserService |
|
247 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
248 | 248 | */ |
249 | 249 | protected function getUserServiceMock() |
250 | 250 | { |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | /** |
263 | 263 | * Get the location service mock object. |
264 | 264 | * |
265 | - * @return \eZ\Publish\API\Repository\LocationService |
|
265 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
266 | 266 | */ |
267 | 267 | protected function getLocationServiceMock() |
268 | 268 | { |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | /** |
292 | 292 | * Get the content service mock object. |
293 | 293 | * |
294 | - * @return \eZ\Publish\API\Repository\ContentService |
|
294 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
295 | 295 | */ |
296 | 296 | protected function getContentServiceMock() |
297 | 297 | { |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | /** |
275 | 275 | * Get the user service mock object. |
276 | 276 | * |
277 | - * @return \eZ\Publish\API\Repository\UserService |
|
277 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
278 | 278 | */ |
279 | 279 | protected function getUserServiceMock() |
280 | 280 | { |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | /** |
293 | 293 | * Get the Content service mock object. |
294 | 294 | * |
295 | - * @return \eZ\Publish\API\Repository\ContentService |
|
295 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
296 | 296 | */ |
297 | 297 | protected function getContentServiceMock() |
298 | 298 | { |
@@ -168,7 +168,7 @@ |
||
168 | 168 | /** |
169 | 169 | * Get the Content service mock object. |
170 | 170 | * |
171 | - * @return \eZ\Publish\API\Repository\ContentService |
|
171 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
172 | 172 | */ |
173 | 173 | protected function getContentServiceMock() |
174 | 174 | { |
@@ -36,7 +36,7 @@ |
||
36 | 36 | /** |
37 | 37 | * Gets the exception. |
38 | 38 | * |
39 | - * @return \Exception |
|
39 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
40 | 40 | */ |
41 | 41 | protected function getException() |
42 | 42 | { |
@@ -36,7 +36,7 @@ |
||
36 | 36 | /** |
37 | 37 | * Get the exception. |
38 | 38 | * |
39 | - * @return \Exception |
|
39 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
40 | 40 | */ |
41 | 41 | protected function getException() |
42 | 42 | { |
@@ -210,7 +210,7 @@ |
||
210 | 210 | } |
211 | 211 | |
212 | 212 | /** |
213 | - * @param $userId |
|
213 | + * @param integer $userId |
|
214 | 214 | * |
215 | 215 | * @return EzUser |
216 | 216 | */ |
@@ -154,8 +154,8 @@ discard block |
||
154 | 154 | /** |
155 | 155 | * Creates a User object from $userId, $userRemoteId and $userVersionNo. |
156 | 156 | * |
157 | - * @param mixed $userId |
|
158 | - * @param mixed $userRemoteId |
|
157 | + * @param integer $userId |
|
158 | + * @param string $userRemoteId |
|
159 | 159 | * @param int $userVersionNo |
160 | 160 | * |
161 | 161 | * @return \eZ\Publish\Core\Repository\Values\User\User |
@@ -177,8 +177,8 @@ discard block |
||
177 | 177 | /** |
178 | 178 | * Returns a new UserGroup. |
179 | 179 | * |
180 | - * @param mixed $groupId |
|
181 | - * @param mixed $groupRemoteId |
|
180 | + * @param integer $groupId |
|
181 | + * @param string $groupRemoteId |
|
182 | 182 | * @param int $groupVersioNo |
183 | 183 | * |
184 | 184 | * @return \eZ\Publish\Core\Repository\Values\User\UserGroup |
@@ -9,10 +9,9 @@ |
||
9 | 9 | namespace eZ\Publish\Core\MVC\Symfony\SiteAccess\Tests; |
10 | 10 | |
11 | 11 | use eZ\Publish\Core\MVC\Symfony\SiteAccess; |
12 | -use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIElement; |
|
12 | +use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIElement as URIElementMatcher; |
|
13 | 13 | use PHPUnit\Framework\TestCase; |
14 | 14 | use eZ\Publish\Core\MVC\Symfony\SiteAccess\Router; |
15 | -use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\URIElement as URIElementMatcher; |
|
16 | 15 | use eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest; |
17 | 16 | use eZ\Publish\Core\MVC\Symfony\SiteAccess\MatcherBuilder; |
18 | 17 | use Psr\Log\LoggerInterface; |
@@ -89,7 +89,7 @@ |
||
89 | 89 | /** |
90 | 90 | * Get the content type service mock object. |
91 | 91 | * |
92 | - * @return \eZ\Publish\API\Repository\ContentTypeService |
|
92 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
93 | 93 | */ |
94 | 94 | protected function getContentTypeServiceMock() |
95 | 95 | { |