@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
58 | - * @return string $locale |
|
58 | + * @return string[] $locale |
|
59 | 59 | */ |
60 | 60 | public function getLocale() |
61 | 61 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | } |
64 | 64 | |
65 | 65 | /** |
66 | - * @return array |
|
66 | + * @return FileSizeExtension[] |
|
67 | 67 | */ |
68 | 68 | protected function getExtensions() |
69 | 69 | { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | } |
82 | 82 | |
83 | 83 | /** |
84 | - * @return ConfigResolverInterface|\PHPUnit\Framework\MockObject\MockObject |
|
84 | + * @return ConfigResolverInterface |
|
85 | 85 | */ |
86 | 86 | protected function getConfigResolverInterfaceMock() |
87 | 87 | { |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | - * @return LocaleConverterInterface|\PHPUnit\Framework\MockObject\MockObject |
|
98 | + * @return LocaleConverterInterface |
|
99 | 99 | */ |
100 | 100 | protected function getLocaleConverterInterfaceMock() |
101 | 101 | { |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | } |
116 | 116 | |
117 | 117 | /** |
118 | - * @return TranslatorInterface|\PHPUnit\Framework\MockObject\MockObject |
|
118 | + * @return TranslatorInterface |
|
119 | 119 | */ |
120 | 120 | protected function getTranslatorInterfaceMock() |
121 | 121 | { |
@@ -60,9 +60,9 @@ |
||
60 | 60 | |
61 | 61 | /** |
62 | 62 | * @param NodeDefinition $node |
63 | - * @param $name |
|
63 | + * @param string $name |
|
64 | 64 | * @param string $info block info line |
65 | - * @param ConfigurationFactory[]|ArrayObject $factories |
|
65 | + * @param ArrayObject $factories |
|
66 | 66 | */ |
67 | 67 | private function addHandlersSection(NodeDefinition $node, $name, $info, ArrayObject $factories) |
68 | 68 | { |
@@ -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"; |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
54 | - * @param array $mockedMethods |
|
54 | + * @param string[] $mockedMethods |
|
55 | 55 | * |
56 | 56 | * @return \PHPUnit\Framework\MockObject\MockObject|DefaultRouter |
57 | 57 | */ |
@@ -318,6 +318,9 @@ discard block |
||
318 | 318 | ]; |
319 | 319 | } |
320 | 320 | |
321 | + /** |
|
322 | + * @param string $uri |
|
323 | + */ |
|
321 | 324 | private function getExpectedRequestContext($uri) |
322 | 325 | { |
323 | 326 | $requestContext = new RequestContext(); |
@@ -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 | */ |