@@ -1602,7 +1602,7 @@ |
||
| 1602 | 1602 | |
| 1603 | 1603 | /** |
| 1604 | 1604 | * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo |
| 1605 | - * @param array $translations |
|
| 1605 | + * @param string[] $translations |
|
| 1606 | 1606 | * |
| 1607 | 1607 | * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException |
| 1608 | 1608 | * @throws \eZ\Publish\API\Repository\Exceptions\ContentFieldValidationException |
@@ -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 | /** |
@@ -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 | { |
@@ -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 | { |
@@ -486,7 +486,7 @@ discard block |
||
| 486 | 486 | * |
| 487 | 487 | * @throws \eZ\Publish\API\Repository\Exceptions\BadStateException |
| 488 | 488 | * |
| 489 | - * @param mixed $locationId |
|
| 489 | + * @param integer $locationId |
|
| 490 | 490 | * @param bool $custom if true the user generated aliases are listed otherwise the autogenerated |
| 491 | 491 | * |
| 492 | 492 | * @return \eZ\Publish\SPI\Persistence\Content\UrlAlias[] |
@@ -622,9 +622,9 @@ discard block |
||
| 622 | 622 | * |
| 623 | 623 | * This method triggers the change of the autogenerated aliases. |
| 624 | 624 | * |
| 625 | - * @param mixed $locationId |
|
| 626 | - * @param mixed $oldParentId |
|
| 627 | - * @param mixed $newParentId |
|
| 625 | + * @param integer $locationId |
|
| 626 | + * @param integer $oldParentId |
|
| 627 | + * @param integer $newParentId |
|
| 628 | 628 | */ |
| 629 | 629 | public function locationMoved($locationId, $oldParentId, $newParentId) |
| 630 | 630 | { |
@@ -652,9 +652,9 @@ discard block |
||
| 652 | 652 | * |
| 653 | 653 | * This method triggers the creation of the autogenerated aliases for the copied locations |
| 654 | 654 | * |
| 655 | - * @param mixed $locationId |
|
| 656 | - * @param mixed $newLocationId |
|
| 657 | - * @param mixed $newParentId |
|
| 655 | + * @param integer $locationId |
|
| 656 | + * @param integer $newLocationId |
|
| 657 | + * @param integer $newParentId |
|
| 658 | 658 | */ |
| 659 | 659 | public function locationCopied($locationId, $newLocationId, $newParentId) |
| 660 | 660 | { |
@@ -983,7 +983,7 @@ discard block |
||
| 983 | 983 | /** |
| 984 | 984 | * Notifies the underlying engine that a location was deleted or moved to trash. |
| 985 | 985 | * |
| 986 | - * @param mixed $locationId |
|
| 986 | + * @param integer $locationId |
|
| 987 | 987 | */ |
| 988 | 988 | public function locationDeleted($locationId) |
| 989 | 989 | { |
@@ -1966,6 +1966,4 @@ |
||
| 1966 | 1966 | $alwaysAvailable ? 1 : self::REMOVE_ALWAYS_AVAILABLE_LANG_MASK_OPERAND |
| 1967 | 1967 | ); |
| 1968 | 1968 | |
| 1969 | - return $query; |
|
| 1970 | - } |
|
| 1971 | -} |
|
| 1969 | + return $query |
|
| 1972 | 1970 | \ No newline at end of file |
@@ -1966,6 +1966,4 @@ |
||
| 1966 | 1966 | $alwaysAvailable ? 1 : self::REMOVE_ALWAYS_AVAILABLE_LANG_MASK_OPERAND |
| 1967 | 1967 | ); |
| 1968 | 1968 | |
| 1969 | - return $query; |
|
| 1970 | - } |
|
| 1971 | -} |
|
| 1969 | + return $query |
|
| 1972 | 1970 | \ No newline at end of file |