@@ -11,7 +11,6 @@ |
||
11 | 11 | use eZ\Publish\SPI\Persistence\Content\Location; |
12 | 12 | use eZ\Publish\SPI\Persistence\Content\Location\UpdateStruct; |
13 | 13 | use eZ\Publish\SPI\Persistence\Content\Location\CreateStruct; |
14 | -use Doctrine\DBAL\DBALException; |
|
15 | 14 | use PDOException; |
16 | 15 | |
17 | 16 | /** |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException |
310 | 310 | * @throws \eZ\Publish\API\Repository\Exceptions\ForbiddenException |
311 | 311 | * |
312 | - * @param mixed $locationId |
|
312 | + * @param integer $locationId |
|
313 | 313 | * @param string $path |
314 | 314 | * @param bool $forwarding |
315 | 315 | * @param string $languageCode |
@@ -466,7 +466,7 @@ discard block |
||
466 | 466 | * @param string $text |
467 | 467 | * @param string $textMD5 |
468 | 468 | * |
469 | - * @return mixed |
|
469 | + * @return integer |
|
470 | 470 | */ |
471 | 471 | protected function insertNopEntry($parentId, $text, $textMD5) |
472 | 472 | { |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | /** |
285 | 285 | * Returns a Content Gateway mock. |
286 | 286 | * |
287 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Gateway |
|
287 | + * @return Gateway |
|
288 | 288 | */ |
289 | 289 | protected function getContentGatewayMock() |
290 | 290 | { |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | /** |
299 | 299 | * Returns a Content StorageHandler mock. |
300 | 300 | * |
301 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler |
|
301 | + * @return StorageHandler |
|
302 | 302 | */ |
303 | 303 | protected function getContentStorageHandlerMock() |
304 | 304 | { |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | /** |
313 | 313 | * Returns a Content mapper mock. |
314 | 314 | * |
315 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper |
|
315 | + * @return ContentMapper |
|
316 | 316 | */ |
317 | 317 | protected function getContentMapperMock() |
318 | 318 | { |
@@ -69,7 +69,7 @@ |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
72 | - * @return \Doctrine\DBAL\Connection[]|\PHPUnit\Framework\MockObject\MockObject[]|\Traversable |
|
72 | + * @return \Generator |
|
73 | 73 | */ |
74 | 74 | public function getTestBuildSharedGatewayData(): Traversable |
75 | 75 | { |