@@ -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 | */ |
@@ -127,18 +127,18 @@ |
||
| 127 | 127 | * Link word with specific content object (legacy db table: ezsearch_object_word_link). |
| 128 | 128 | * |
| 129 | 129 | * @param $wordId |
| 130 | - * @param $contentId |
|
| 131 | - * @param $frequency |
|
| 132 | - * @param $placement |
|
| 130 | + * @param integer $contentId |
|
| 131 | + * @param integer $frequency |
|
| 132 | + * @param integer $placement |
|
| 133 | 133 | * @param $nextWordId |
| 134 | 134 | * @param $prevWordId |
| 135 | - * @param $contentTypeId |
|
| 135 | + * @param integer $contentTypeId |
|
| 136 | 136 | * @param $fieldTypeId |
| 137 | - * @param $published |
|
| 138 | - * @param $sectionId |
|
| 137 | + * @param integer $published |
|
| 138 | + * @param integer $sectionId |
|
| 139 | 139 | * @param $identifier |
| 140 | 140 | * @param $integerValue |
| 141 | - * @param $languageMask |
|
| 141 | + * @param integer $languageMask |
|
| 142 | 142 | */ |
| 143 | 143 | public function addObjectWordLink($wordId, |
| 144 | 144 | $contentId, |