@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * @param array $mockedMethods |
|
| 54 | + * @param string[] $mockedMethods |
|
| 55 | 55 | * |
| 56 | 56 | * @return \PHPUnit\Framework\MockObject\MockObject|DefaultRouter |
| 57 | 57 | */ |
@@ -318,6 +318,9 @@ discard block |
||
| 318 | 318 | ]; |
| 319 | 319 | } |
| 320 | 320 | |
| 321 | + /** |
|
| 322 | + * @param string $uri |
|
| 323 | + */ |
|
| 321 | 324 | private function getExpectedRequestContext($uri) |
| 322 | 325 | { |
| 323 | 326 | $requestContext = new RequestContext(); |
@@ -187,7 +187,7 @@ |
||
| 187 | 187 | /** |
| 188 | 188 | * Returns if the given $value is considered empty by the field type. |
| 189 | 189 | * |
| 190 | - * @param mixed $value |
|
| 190 | + * @param SPIValue $value |
|
| 191 | 191 | * |
| 192 | 192 | * @return bool |
| 193 | 193 | */ |
@@ -1270,7 +1270,7 @@ discard block |
||
| 1270 | 1270 | |
| 1271 | 1271 | /** |
| 1272 | 1272 | * @param \eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo |
| 1273 | - * @param $fieldDefinitionIdentifier |
|
| 1273 | + * @param string $fieldDefinitionIdentifier |
|
| 1274 | 1274 | * @param array $fieldValues |
| 1275 | 1275 | * |
| 1276 | 1276 | * @return \eZ\Publish\API\Repository\Values\Content\Content |
@@ -1387,6 +1387,10 @@ discard block |
||
| 1387 | 1387 | $contentTypeService->publishContentTypeDraft($contentTypeDraft); |
| 1388 | 1388 | } |
| 1389 | 1389 | |
| 1390 | + /** |
|
| 1391 | + * @param string $expectedPath |
|
| 1392 | + * @param boolean $expectedIsHistory |
|
| 1393 | + */ |
|
| 1390 | 1394 | private function assertUrlAliasPropertiesCorrect( |
| 1391 | 1395 | Location $expectedDestinationLocation, |
| 1392 | 1396 | $expectedPath, |
@@ -152,7 +152,7 @@ |
||
| 152 | 152 | * |
| 153 | 153 | * @param \eZ\Publish\Core\FieldType\BinaryBase\Value $value |
| 154 | 154 | * |
| 155 | - * @return mixed |
|
| 155 | + * @return boolean |
|
| 156 | 156 | */ |
| 157 | 157 | protected function getSortInfo(BaseValue $value) |
| 158 | 158 | { |
@@ -182,7 +182,7 @@ |
||
| 182 | 182 | /** |
| 183 | 183 | * Implements the core of {@see isEmptyValue()}. |
| 184 | 184 | * |
| 185 | - * @param mixed $value |
|
| 185 | + * @param SPIValue $value |
|
| 186 | 186 | * |
| 187 | 187 | * @return bool |
| 188 | 188 | */ |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | /** |
| 77 | 77 | * Returns if the given $value is considered empty by the field type. |
| 78 | 78 | * |
| 79 | - * @param mixed $value |
|
| 79 | + * @param SPIValue $value |
|
| 80 | 80 | * |
| 81 | 81 | * @return bool |
| 82 | 82 | */ |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | /** |
| 191 | 191 | * Converts an $hash to the Value defined by the field type. |
| 192 | 192 | * |
| 193 | - * @param mixed $hash |
|
| 193 | + * @param string $hash |
|
| 194 | 194 | * |
| 195 | 195 | * @return \eZ\Publish\Core\FieldType\ISBN\Value $value |
| 196 | 196 | */ |
@@ -187,7 +187,7 @@ |
||
| 187 | 187 | /** |
| 188 | 188 | * Returns if the given $value is considered empty by the field type. |
| 189 | 189 | * |
| 190 | - * @param mixed $value |
|
| 190 | + * @param SPIValue $value |
|
| 191 | 191 | * |
| 192 | 192 | * @return bool |
| 193 | 193 | */ |
@@ -187,7 +187,7 @@ |
||
| 187 | 187 | /** |
| 188 | 188 | * Returns if the given $value is considered empty by the field type. |
| 189 | 189 | * |
| 190 | - * @param mixed $value |
|
| 190 | + * @param SPIValue $value |
|
| 191 | 191 | * |
| 192 | 192 | * @return bool |
| 193 | 193 | */ |
@@ -113,7 +113,7 @@ |
||
| 113 | 113 | * It will be used to generate content name and url alias if current field is designated |
| 114 | 114 | * to be used in the content name/urlAlias pattern. |
| 115 | 115 | * |
| 116 | - * @param mixed $value |
|
| 116 | + * @param SPIValue $value |
|
| 117 | 117 | * |
| 118 | 118 | * @return string |
| 119 | 119 | */ |