@@ -323,7 +323,7 @@ |
||
323 | 323 | * |
324 | 324 | * @param InputInterface $input |
325 | 325 | * |
326 | - * @return HelperInterface|null |
|
326 | + * @return null|\Symfony\Component\Console\Helper\ProgressHelper |
|
327 | 327 | */ |
328 | 328 | protected function getProgressBar(InputInterface $input) |
329 | 329 | { |
@@ -198,6 +198,9 @@ |
||
198 | 198 | return $collection; |
199 | 199 | } |
200 | 200 | |
201 | + /** |
|
202 | + * @param string $presentation |
|
203 | + */ |
|
201 | 204 | protected function renderLink($path, $presentation) |
202 | 205 | { |
203 | 206 | $url = false; |
@@ -184,7 +184,7 @@ |
||
184 | 184 | * |
185 | 185 | * @param string $message The message or code to translate. |
186 | 186 | * @param string $textDomain A message may be located in a domain, here you can provide in which. |
187 | - * @param null $locale The locale to translate to or the default if not set. |
|
187 | + * @param string $locale The locale to translate to or the default if not set. |
|
188 | 188 | * |
189 | 189 | * @return string |
190 | 190 | */ |
@@ -89,8 +89,8 @@ discard block |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |
92 | - * @param $name |
|
93 | - * @param $type |
|
92 | + * @param string $name |
|
93 | + * @param string $type |
|
94 | 94 | * @return m\MockInterface |
95 | 95 | */ |
96 | 96 | protected function givenAnArgumentReflectorWithNameAndType($name, $type) |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
108 | - * @param $expected |
|
108 | + * @param string[] $expected |
|
109 | 109 | * @return Collection |
110 | 110 | */ |
111 | 111 | protected function thenProjectBuilderShouldSetCollectionOfExpectedTypes($expected) |
@@ -114,6 +114,10 @@ discard block |
||
114 | 114 | $this->builderMock->shouldReceive('buildDescriptor') |
115 | 115 | ->with( |
116 | 116 | m::on( |
117 | + |
|
118 | + /** |
|
119 | + * @param string[] $value |
|
120 | + */ |
|
117 | 121 | function ($value) use ($expected) { |
118 | 122 | return $value instanceof Collection && $value->getArrayCopy() == $expected; |
119 | 123 | } |
@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * Create a ClassReflector mock |
65 | 65 | * |
66 | - * @return MockInterface |
|
66 | + * @return m\MockInterface |
|
67 | 67 | */ |
68 | 68 | protected function getClassReflectorDescriptor() |
69 | 69 | { |
@@ -13,7 +13,6 @@ |
||
13 | 13 | namespace phpDocumentor\Descriptor\Builder\Reflector; |
14 | 14 | |
15 | 15 | use phpDocumentor\Reflection\DocBlock; |
16 | - |
|
17 | 16 | use Mockery as m; |
18 | 17 | |
19 | 18 | /** |
@@ -14,7 +14,6 @@ |
||
14 | 14 | |
15 | 15 | use phpDocumentor\Reflection\DocBlock; |
16 | 16 | use phpDocumentor\Descriptor\Collection; |
17 | - |
|
18 | 17 | use Mockery as m; |
19 | 18 | |
20 | 19 | /** |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | } |
177 | 177 | |
178 | 178 | /** |
179 | - * @param $forced |
|
179 | + * @param boolean $forced |
|
180 | 180 | */ |
181 | 181 | protected function initializeParserWithDefaultVariables($forced) |
182 | 182 | { |
@@ -261,7 +261,7 @@ discard block |
||
261 | 261 | } |
262 | 262 | |
263 | 263 | /** |
264 | - * @param $fileDescriptor |
|
264 | + * @param FileDescriptor $fileDescriptor |
|
265 | 265 | */ |
266 | 266 | protected function whenFileDescriptorContainsErrors($fileDescriptor) |
267 | 267 | { |
@@ -67,6 +67,8 @@ |
||
67 | 67 | /** |
68 | 68 | * Creates and returns a mock of the Service Locator (application). |
69 | 69 | * |
70 | + * @param m\MockInterface $mockCollection |
|
71 | + * @param m\MockInterface $mockLogger |
|
70 | 72 | * @return m\MockInterface |
71 | 73 | */ |
72 | 74 | private function givenAnApplication($mockCollection, $mockLogger) |