@@ -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 | { |
@@ -538,7 +538,7 @@ |
||
| 538 | 538 | * are an array of limitation values. The limitation parameter is optional. |
| 539 | 539 | * |
| 540 | 540 | * @param mixed $contentId The groupId or userId to assign the role to. |
| 541 | - * @param mixed $roleId |
|
| 541 | + * @param integer|null $roleId |
|
| 542 | 542 | * @param array $limitation |
| 543 | 543 | */ |
| 544 | 544 | public function assignRole($contentId, $roleId, array $limitation = null) |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | /** |
| 174 | 174 | * Loads a user group for the given id. |
| 175 | 175 | * |
| 176 | - * @param mixed $id |
|
| 176 | + * @param integer $id |
|
| 177 | 177 | * @param string[] $prioritizedLanguages Used as prioritized language code on translated properties of returned object. |
| 178 | 178 | * |
| 179 | 179 | * @return \eZ\Publish\API\Repository\Values\User\UserGroup |
@@ -1371,6 +1371,9 @@ discard block |
||
| 1371 | 1371 | !empty($userUpdateStruct->maxLogin); |
| 1372 | 1372 | } |
| 1373 | 1373 | |
| 1374 | + /** |
|
| 1375 | + * @param integer|null $timestamp |
|
| 1376 | + */ |
|
| 1374 | 1377 | private function getDateTime(?int $timestamp): ?DateTimeInterface |
| 1375 | 1378 | { |
| 1376 | 1379 | if ($timestamp !== null) { |
@@ -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 |
@@ -39,9 +39,7 @@ |
||
| 39 | 39 | /** |
| 40 | 40 | * Can receive as many tuples of array( argumentName ), argumentValue as necessary. |
| 41 | 41 | * |
| 42 | - * @param $argumentString |
|
| 43 | - * @param string $dynamicSettingName .. |
|
| 44 | - * @param string $dynamicSettingValue .. |
|
| 42 | + * @param string $argumentString |
|
| 45 | 43 | * |
| 46 | 44 | * @return string |
| 47 | 45 | */ |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | /** @var string */ |
| 20 | 20 | private $originalTokenType; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $originalTokenType |
|
| 24 | + */ |
|
| 22 | 25 | public function __construct(UserInterface $user, $originalTokenType, $credentials, $providerKey, array $roles = []) |
| 23 | 26 | { |
| 24 | 27 | parent::__construct($user, $credentials, $providerKey, $roles); |
@@ -67,6 +67,10 @@ |
||
| 67 | 67 | /** @var \eZ\Publish\Core\MVC\Symfony\View\Configurator */ |
| 68 | 68 | private $viewConfigurator; |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $viewBaseLayout |
|
| 72 | + * @param \PHPUnit\Framework\MockObject\MockObject $viewConfigurator |
|
| 73 | + */ |
|
| 70 | 74 | public function __construct( |
| 71 | 75 | Environment $templateEngine, |
| 72 | 76 | EventDispatcherInterface $eventDispatcher, |
@@ -44,7 +44,6 @@ |
||
| 44 | 44 | * |
| 45 | 45 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 46 | 46 | * |
| 47 | - * @param string|array(string) $... Either a string with a logical expression name or an array with logical expressions. |
|
| 48 | 47 | * |
| 49 | 48 | * @return \eZ\Publish\Core\Persistence\Database\DeleteQuery |
| 50 | 49 | */ |