@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * @param array $mockMethods For specifying the methods to mock, all by default |
29 | 29 | * |
30 | - * @return \eZ\Publish\SPI\Persistence\Handler|\PHPUnit\Framework\MockObject\MockObject |
|
30 | + * @return SPIHandler |
|
31 | 31 | */ |
32 | 32 | public function getPersistenceMock(array $mockMethods = array()) |
33 | 33 | { |
@@ -148,6 +148,9 @@ |
||
148 | 148 | return $document; |
149 | 149 | } |
150 | 150 | |
151 | + /** |
|
152 | + * @param string $outputFile |
|
153 | + */ |
|
151 | 154 | protected function formatValidationErrors($outputFile, array $errors) |
152 | 155 | { |
153 | 156 | $output = "\n"; |
@@ -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 | */ |
@@ -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 | */ |
@@ -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 | */ |