@@ -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 | */ |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * NOT take care for test case wide caching of the field type, just return |
29 | 29 | * a new instance from this method! |
30 | 30 | * |
31 | - * @return FieldType |
|
31 | + * @return BinaryFileType |
|
32 | 32 | */ |
33 | 33 | protected function createFieldTypeUnderTest() |
34 | 34 | { |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * NOT take care for test case wide caching of the field type, just return |
35 | 35 | * a new instance from this method! |
36 | 36 | * |
37 | - * @return FieldType |
|
37 | + * @return Country |
|
38 | 38 | */ |
39 | 39 | protected function createFieldTypeUnderTest() |
40 | 40 | { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * Returns the empty value expected from the field type. |
113 | 113 | * |
114 | - * @return \eZ\Publish\Core\FieldType\Checkbox\Value |
|
114 | + * @return CountryValue |
|
115 | 115 | */ |
116 | 116 | protected function getEmptyValueExpectation() |
117 | 117 | { |