@@ -84,7 +84,6 @@ |
||
| 84 | 84 | * |
| 85 | 85 | * @param array $zoneDefinition |
| 86 | 86 | * @param array $blockDefinition |
| 87 | - * @param \eZ\Publish\API\Repository\LocationService $locationService |
|
| 88 | 87 | * @param \eZ\Publish\API\Repository\ContentService $contentService |
| 89 | 88 | */ |
| 90 | 89 | public function __construct( |
@@ -225,7 +225,7 @@ |
||
| 225 | 225 | * |
| 226 | 226 | * @param int|string $id |
| 227 | 227 | * |
| 228 | - * @return int |
|
| 228 | + * @return string |
|
| 229 | 229 | */ |
| 230 | 230 | public function getContentIdByBlockId($id) |
| 231 | 231 | { |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | * This value will be used, if no value was provided for a field of this |
| 109 | 109 | * type and no default value was specified in the field definition. |
| 110 | 110 | * |
| 111 | - * @return mixed |
|
| 111 | + * @return Value |
|
| 112 | 112 | */ |
| 113 | 113 | public function getEmptyValue() |
| 114 | 114 | { |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | * |
| 218 | 218 | * @param \eZ\Publish\Core\FieldType\Page\Value $value |
| 219 | 219 | * |
| 220 | - * @return mixed |
|
| 220 | + * @return boolean |
|
| 221 | 221 | */ |
| 222 | 222 | protected function getSortInfo(BaseValue $value) |
| 223 | 223 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * Returns if the given $value is considered empty by the field type. |
| 63 | 63 | * |
| 64 | - * @param mixed $value |
|
| 64 | + * @param SPIValue $value |
|
| 65 | 65 | * |
| 66 | 66 | * @return bool |
| 67 | 67 | */ |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | * |
| 110 | 110 | * @param \eZ\Publish\Core\FieldType\Rating\Value $value |
| 111 | 111 | * |
| 112 | - * @return array |
|
| 112 | + * @return boolean |
|
| 113 | 113 | */ |
| 114 | 114 | protected function getSortInfo(BaseValue $value) |
| 115 | 115 | { |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | /** |
| 139 | 139 | * Returns if the given $value is considered empty by the field type. |
| 140 | 140 | * |
| 141 | - * @param mixed $value |
|
| 141 | + * @param SPIValue $value |
|
| 142 | 142 | * |
| 143 | 143 | * @return bool |
| 144 | 144 | */ |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | * |
| 191 | 191 | * @param \eZ\Publish\Core\FieldType\Relation\Value $value |
| 192 | 192 | * |
| 193 | - * @return mixed |
|
| 193 | + * @return string |
|
| 194 | 194 | */ |
| 195 | 195 | protected function getSortInfo(BaseValue $value) |
| 196 | 196 | { |
@@ -211,7 +211,7 @@ |
||
| 211 | 211 | * |
| 212 | 212 | * @param \eZ\Publish\Core\FieldType\RelationList\Value $value |
| 213 | 213 | * |
| 214 | - * @return array |
|
| 214 | + * @return boolean |
|
| 215 | 215 | */ |
| 216 | 216 | protected function getSortInfo(BaseValue $value) |
| 217 | 217 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * Processes single embed element type (ezembed or ezembedinline). |
| 58 | 58 | * |
| 59 | 59 | * @param \DOMDocument $document |
| 60 | - * @param $tagName string name of the tag to extract |
|
| 60 | + * @param string $tagName string name of the tag to extract |
|
| 61 | 61 | * @param bool $isInline |
| 62 | 62 | */ |
| 63 | 63 | protected function processTag(DOMDocument $document, $tagName, $isInline) |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | * @param \DOMElement $embed |
| 115 | 115 | * @param $tagName string name of the tag to extract |
| 116 | 116 | * |
| 117 | - * @return array |
|
| 117 | + * @return boolean |
|
| 118 | 118 | */ |
| 119 | 119 | protected function extractParameters(DOMElement $embed, $tagName) |
| 120 | 120 | { |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | * |
| 65 | 65 | * Non-existent ids are ignored. |
| 66 | 66 | * |
| 67 | - * @param array $remoteIds An array of Content remote ids |
|
| 67 | + * @param string[] $remoteIds An array of Content remote ids |
|
| 68 | 68 | * |
| 69 | 69 | * @return array An array of Content ids, with remote ids as keys |
| 70 | 70 | */ |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * It will be used to generate content name and url alias if current field is designated |
| 126 | 126 | * to be used in the content name/urlAlias pattern. |
| 127 | 127 | * |
| 128 | - * @param mixed $value |
|
| 128 | + * @param SPIValue $value |
|
| 129 | 129 | * |
| 130 | 130 | * @return string |
| 131 | 131 | */ |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | * |
| 233 | 233 | * @param \eZ\Publish\Core\FieldType\Selection\Value $value |
| 234 | 234 | * |
| 235 | - * @return array |
|
| 235 | + * @return string |
|
| 236 | 236 | */ |
| 237 | 237 | protected function getSortInfo(BaseValue $value) |
| 238 | 238 | { |