@@ -368,7 +368,7 @@ discard block |
||
368 | 368 | /** |
369 | 369 | * Returns Location Gateway mock. |
370 | 370 | * |
371 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway |
|
371 | + * @return LocationGateway |
|
372 | 372 | */ |
373 | 373 | protected function getLocationGatewayMock() |
374 | 374 | { |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | /** |
388 | 388 | * Returns a Location Mapper mock. |
389 | 389 | * |
390 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Location\Mapper |
|
390 | + * @return LocationMapper |
|
391 | 391 | */ |
392 | 392 | protected function getLocationMapperMock() |
393 | 393 | { |
@@ -406,7 +406,7 @@ discard block |
||
406 | 406 | /** |
407 | 407 | * Returns Content Gateway mock. |
408 | 408 | * |
409 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Gateway |
|
409 | + * @return Gateway |
|
410 | 410 | */ |
411 | 411 | protected function getContentGatewayMock() |
412 | 412 | { |
@@ -425,7 +425,7 @@ discard block |
||
425 | 425 | /** |
426 | 426 | * Returns a Content Mapper mock. |
427 | 427 | * |
428 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper |
|
428 | + * @return Mapper |
|
429 | 429 | */ |
430 | 430 | protected function getContentMapperMock() |
431 | 431 | { |
@@ -444,7 +444,7 @@ discard block |
||
444 | 444 | /** |
445 | 445 | * Returns a FieldHandler mock. |
446 | 446 | * |
447 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\FieldHandler |
|
447 | + * @return FieldHandler |
|
448 | 448 | */ |
449 | 449 | protected function getFieldHandlerMock() |
450 | 450 | { |
@@ -456,7 +456,7 @@ discard block |
||
456 | 456 | } |
457 | 457 | |
458 | 458 | /** |
459 | - * @param array $methods |
|
459 | + * @param string[] $methods |
|
460 | 460 | * |
461 | 461 | * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler |
462 | 462 | */ |
@@ -513,7 +513,7 @@ discard block |
||
513 | 513 | * Returns a Content fixture. |
514 | 514 | * |
515 | 515 | * @param int $versionNo |
516 | - * @param array $languageCodes |
|
516 | + * @param string[] $languageCodes |
|
517 | 517 | * |
518 | 518 | * @return \eZ\Publish\SPI\Persistence\Content |
519 | 519 | */ |
@@ -569,7 +569,7 @@ discard block |
||
569 | 569 | /** |
570 | 570 | * Returns a Content StorageHandler mock. |
571 | 571 | * |
572 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler |
|
572 | + * @return StorageHandler |
|
573 | 573 | */ |
574 | 574 | protected function getContentStorageHandlerMock() |
575 | 575 | { |
@@ -583,7 +583,7 @@ discard block |
||
583 | 583 | /** |
584 | 584 | * Returns a Content mapper mock. |
585 | 585 | * |
586 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper |
|
586 | + * @return ContentMapper |
|
587 | 587 | */ |
588 | 588 | protected function getContentMapperMock() |
589 | 589 | { |
@@ -269,6 +269,8 @@ discard block |
||
269 | 269 | /** |
270 | 270 | * Returns a Content fixture. |
271 | 271 | * |
272 | + * @param integer $versionNo |
|
273 | + * @param string[] $languageCodes |
|
272 | 274 | * @return \eZ\Publish\SPI\Persistence\Content |
273 | 275 | */ |
274 | 276 | protected function getContentFixture($versionNo, $languageCodes) |
@@ -320,7 +322,7 @@ discard block |
||
320 | 322 | /** |
321 | 323 | * Returns a Content StorageHandler mock. |
322 | 324 | * |
323 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler |
|
325 | + * @return StorageHandler |
|
324 | 326 | */ |
325 | 327 | protected function getContentStorageHandlerMock() |
326 | 328 | { |
@@ -334,7 +336,7 @@ discard block |
||
334 | 336 | /** |
335 | 337 | * Returns a Content mapper mock. |
336 | 338 | * |
337 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper |
|
339 | + * @return ContentMapper |
|
338 | 340 | */ |
339 | 341 | protected function getContentMapperMock() |
340 | 342 | { |
@@ -309,7 +309,7 @@ |
||
309 | 309 | } |
310 | 310 | |
311 | 311 | /** |
312 | - * @param array $methods |
|
312 | + * @param string[] $methods |
|
313 | 313 | * |
314 | 314 | * @return \eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\SlugConverter|\PHPUnit\Framework\MockObject\MockObject |
315 | 315 | */ |
@@ -5021,7 +5021,7 @@ |
||
5021 | 5021 | protected $languageMaskGenerator; |
5022 | 5022 | |
5023 | 5023 | /** |
5024 | - * @param array $methods |
|
5024 | + * @param string[] $methods |
|
5025 | 5025 | * |
5026 | 5026 | * @return \eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\Handler|\PHPUnit\Framework\MockObject\MockObject |
5027 | 5027 | */ |
@@ -96,7 +96,7 @@ |
||
96 | 96 | /** |
97 | 97 | * Gets the inner HTTP client mock. |
98 | 98 | * |
99 | - * @return \eZ\Publish\Core\REST\Client\HttpClient |
|
99 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
100 | 100 | */ |
101 | 101 | protected function getInnerHttpClientMock() |
102 | 102 | { |
@@ -211,7 +211,7 @@ |
||
211 | 211 | } |
212 | 212 | |
213 | 213 | /** |
214 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\REST\Common\RequestParser |
|
214 | + * @return RequestParser |
|
215 | 215 | */ |
216 | 216 | protected function getRequestParserMock() |
217 | 217 | { |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | } |
140 | 140 | |
141 | 141 | /** |
142 | - * @return \eZ\Publish\Core\REST\Common\RequestParser|\PHPUnit\Framework\MockObject\MockObject |
|
142 | + * @return RequestParser |
|
143 | 143 | */ |
144 | 144 | protected function getRequestParser() |
145 | 145 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | } |
152 | 152 | |
153 | 153 | /** |
154 | - * @return \Symfony\Component\Routing\RouterInterface|\PHPUnit\Framework\MockObject\MockObject |
|
154 | + * @return RouterInterface |
|
155 | 155 | */ |
156 | 156 | protected function getRouterMock() |
157 | 157 | { |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | } |
192 | 192 | |
193 | 193 | /** |
194 | - * @return \Symfony\Component\Routing\RouterInterface|\PHPUnit\Framework\MockObject\MockObject |
|
194 | + * @return RouterInterface |
|
195 | 195 | */ |
196 | 196 | protected function getTemplatedRouterMock() |
197 | 197 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | } |
117 | 117 | |
118 | 118 | /** |
119 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor |
|
119 | + * @return ValueObjectVisitor |
|
120 | 120 | */ |
121 | 121 | private function getValueObjectVisitorMock() |
122 | 122 | { |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |
127 | - * @return \PHPUnit\Framework\MockObject\MockObject|Common\Output\Visitor |
|
127 | + * @return Visitor |
|
128 | 128 | */ |
129 | 129 | private function getOutputVisitorMock() |
130 | 130 | { |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | } |
137 | 137 | |
138 | 138 | /** |
139 | - * @return \PHPUnit\Framework\MockObject\MockObject|Common\Output\Generator |
|
139 | + * @return Generator |
|
140 | 140 | */ |
141 | 141 | private function getOutputGeneratorMock() |
142 | 142 | { |