@@ -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 | */ |
@@ -65,7 +65,7 @@ |
||
65 | 65 | /** |
66 | 66 | * Returns a mock for Storage. |
67 | 67 | * |
68 | - * @return Storage |
|
68 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
69 | 69 | */ |
70 | 70 | protected function getFieldValueConverterMock() |
71 | 71 | { |
@@ -67,7 +67,7 @@ |
||
67 | 67 | /** |
68 | 68 | * Returns a mock for Storage. |
69 | 69 | * |
70 | - * @return Storage |
|
70 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
71 | 71 | */ |
72 | 72 | protected function getStorageMock() |
73 | 73 | { |