@@ -17,7 +17,6 @@ |
||
17 | 17 | use eZ\Publish\Core\Persistence\Database\SelectQuery; |
18 | 18 | use eZ\Publish\SPI\Persistence\Content\Type\Handler as ContentTypeHandler; |
19 | 19 | use eZ\Publish\SPI\Persistence\Content\Language\Handler as LanguageHandler; |
20 | -use eZ\Publish\Core\Persistence\Database\Expression; |
|
21 | 20 | |
22 | 21 | /** |
23 | 22 | * Field criterion handler. |
@@ -143,6 +143,7 @@ |
||
143 | 143 | } |
144 | 144 | |
145 | 145 | /** |
146 | + * @param string $semanticPath |
|
146 | 147 | * @return Request |
147 | 148 | */ |
148 | 149 | protected function createRequest($semanticPath, $host = 'localhost') |
@@ -100,6 +100,10 @@ |
||
100 | 100 | return true; |
101 | 101 | } |
102 | 102 | |
103 | + /** |
|
104 | + * @param string $namespace |
|
105 | + * @param string $scope |
|
106 | + */ |
|
103 | 107 | protected function resolveScopeRelativeParamName(string $paramName, ?string $namespace = null, ?string $scope = null): string |
104 | 108 | { |
105 | 109 | return $this->getScopeRelativeParamName($paramName, ...$this->resolveNamespaceAndScope($namespace, $scope)); |
@@ -24,6 +24,9 @@ |
||
24 | 24 | /** @var \eZ\Publish\Core\MVC\Symfony\View\ViewProvider|\eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessAware */ |
25 | 25 | private $viewProviders; |
26 | 26 | |
27 | + /** |
|
28 | + * @param \PHPUnit\Framework\MockObject\MockObject[] $configResolvers |
|
29 | + */ |
|
27 | 30 | public function __construct( |
28 | 31 | iterable $configResolvers, |
29 | 32 | ViewManagerInterface $viewManager |
@@ -12,6 +12,10 @@ |
||
12 | 12 | |
13 | 13 | class InvalidVariationException extends InvalidArgumentException |
14 | 14 | { |
15 | + /** |
|
16 | + * @param string $variationName |
|
17 | + * @param string $variationType |
|
18 | + */ |
|
15 | 19 | public function __construct($variationName, $variationType, $code = 0, Exception $previous = null) |
16 | 20 | { |
17 | 21 | parent::__construct("Invalid variation '$variationName' for $variationType", $code, $previous); |
@@ -100,6 +100,7 @@ |
||
100 | 100 | |
101 | 101 | /** |
102 | 102 | * Applies dependencies of complex $parameter in $scope. |
103 | + * @param string $parameter |
|
103 | 104 | */ |
104 | 105 | private function addComplexParametersDependencies($parameter, $scope, ContainerBuilder $container) |
105 | 106 | { |
@@ -77,6 +77,7 @@ |
||
77 | 77 | * Tests if $uri is an IO file uri root. |
78 | 78 | * |
79 | 79 | * @param string $uri |
80 | + * @param string $urlPrefix |
|
80 | 81 | * |
81 | 82 | * @return bool |
82 | 83 | */ |
@@ -1052,7 +1052,7 @@ |
||
1052 | 1052 | * |
1053 | 1053 | * @param \eZ\Publish\API\Repository\Values\User\RoleCreateStruct $roleCreateStruct |
1054 | 1054 | * |
1055 | - * @return \eZ\Publish\Core\FieldType\ValidationError[][][] |
|
1055 | + * @return \eZ\Publish\Core\FieldType\ValidationError[] |
|
1056 | 1056 | * |
1057 | 1057 | * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException |
1058 | 1058 | */ |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | /** |
105 | 105 | * Loads list of aliases by given $locationId. |
106 | 106 | * |
107 | - * @param mixed $locationId |
|
107 | + * @param integer $locationId |
|
108 | 108 | * @param bool $custom |
109 | 109 | * @param mixed $languageId |
110 | 110 | * |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | * |
275 | 275 | * @param string $action |
276 | 276 | * @param mixed $languageId |
277 | - * @param mixed $newId |
|
277 | + * @param integer $newId |
|
278 | 278 | * @param mixed $parentId |
279 | 279 | * @param string $textMD5 |
280 | 280 | */ |
@@ -448,9 +448,9 @@ discard block |
||
448 | 448 | * |
449 | 449 | * Removes given $languageId from entry's language mask |
450 | 450 | * |
451 | - * @param mixed $parentId |
|
451 | + * @param integer $parentId |
|
452 | 452 | * @param string $textMD5 |
453 | - * @param mixed $languageId |
|
453 | + * @param integer $languageId |
|
454 | 454 | */ |
455 | 455 | protected function removeTranslation($parentId, $textMD5, $languageId) |
456 | 456 | { |
@@ -533,8 +533,8 @@ discard block |
||
533 | 533 | * |
534 | 534 | * Update includes history entries. |
535 | 535 | * |
536 | - * @param mixed $oldParentId |
|
537 | - * @param mixed $newParentId |
|
536 | + * @param integer $oldParentId |
|
537 | + * @param integer $newParentId |
|
538 | 538 | */ |
539 | 539 | public function reparent($oldParentId, $newParentId) |
540 | 540 | { |
@@ -680,7 +680,7 @@ discard block |
||
680 | 680 | /** |
681 | 681 | * Returns next value for "id" column. |
682 | 682 | * |
683 | - * @return mixed |
|
683 | + * @return integer |
|
684 | 684 | */ |
685 | 685 | public function getNextId() |
686 | 686 | { |
@@ -823,7 +823,7 @@ discard block |
||
823 | 823 | * Loads autogenerated entry id by given $action and optionally $parentId. |
824 | 824 | * |
825 | 825 | * @param string $action |
826 | - * @param mixed|null $parentId |
|
826 | + * @param integer $parentId |
|
827 | 827 | * |
828 | 828 | * @return array |
829 | 829 | */ |
@@ -1007,7 +1007,7 @@ discard block |
||
1007 | 1007 | /** |
1008 | 1008 | * Deletes single custom alias row matched by composite primary key. |
1009 | 1009 | * |
1010 | - * @param mixed $parentId |
|
1010 | + * @param integer $parentId |
|
1011 | 1011 | * @param string $textMD5 |
1012 | 1012 | * |
1013 | 1013 | * @return bool |
@@ -1045,10 +1045,10 @@ discard block |
||
1045 | 1045 | * |
1046 | 1046 | * If $id is set only autogenerated entries will be removed. |
1047 | 1047 | * |
1048 | - * @param mixed $action |
|
1049 | - * @param mixed|null $id |
|
1048 | + * @param string $action |
|
1049 | + * @param integer $id |
|
1050 | 1050 | * |
1051 | - * @return bool |
|
1051 | + * @return boolean|null |
|
1052 | 1052 | */ |
1053 | 1053 | public function remove($action, $id = null) |
1054 | 1054 | { |