@@ -46,10 +46,10 @@ |
||
46 | 46 | |
47 | 47 | /** |
48 | 48 | * @param VersionInfo $versionInfo |
49 | - * @param array $fieldId |
|
49 | + * @param array $fieldIds |
|
50 | 50 | * @param array $context |
51 | 51 | * |
52 | - * @return bool |
|
52 | + * @return boolean|null |
|
53 | 53 | */ |
54 | 54 | public function deleteFieldData(VersionInfo $versionInfo, array $fieldIds, array $context) |
55 | 55 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * @param VersionInfo $versionInfo |
70 | 70 | * @param Field $field |
71 | 71 | * |
72 | - * @return bool If restoring of the internal field data is required |
|
72 | + * @return null|boolean If restoring of the internal field data is required |
|
73 | 73 | */ |
74 | 74 | public function storeFieldData(VersionInfo $versionInfo, Field $field) |
75 | 75 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * @param VersionInfo $versionInfo |
105 | 105 | * @param Field $field |
106 | 106 | * |
107 | - * @return bool |
|
107 | + * @return boolean|null |
|
108 | 108 | */ |
109 | 109 | protected function updateFieldData(VersionInfo $versionInfo, Field $field) |
110 | 110 | { |
@@ -188,6 +188,7 @@ discard block |
||
188 | 188 | * If no data is found, null is returned. |
189 | 189 | * |
190 | 190 | * @param int $fieldId |
191 | + * @param integer $versionNo |
|
191 | 192 | * |
192 | 193 | * @return array|null |
193 | 194 | */ |
@@ -62,7 +62,7 @@ |
||
62 | 62 | /** |
63 | 63 | * Returns if the given $value is considered empty by the field type. |
64 | 64 | * |
65 | - * @param mixed $value |
|
65 | + * @param SPIValue $value |
|
66 | 66 | * |
67 | 67 | * @return bool |
68 | 68 | */ |
@@ -96,7 +96,7 @@ |
||
96 | 96 | * add additional columns to be set in the database. Please do not forget |
97 | 97 | * to call the parent when overwriting this method. |
98 | 98 | * |
99 | - * @param \ezcQueryInsert $insertQuery |
|
99 | + * @param InsertQuery $insertQuery |
|
100 | 100 | * @param VersionInfo $versionInfo |
101 | 101 | * @param Field $field |
102 | 102 | */ |
@@ -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( |
@@ -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 | { |
@@ -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 | { |
@@ -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 | */ |