@@ -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 | */ |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | * This value will be used, if no value was provided for a field of this |
| 107 | 107 | * type and no default value was specified in the field definition. |
| 108 | 108 | * |
| 109 | - * @return mixed |
|
| 109 | + * @return Value |
|
| 110 | 110 | */ |
| 111 | 111 | public function getEmptyValue() |
| 112 | 112 | { |
@@ -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 | */ |
@@ -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 | */ |