@@ -13,11 +13,8 @@ |
||
13 | 13 | |
14 | 14 | use phpDocumentor\Descriptor\ArgumentDescriptor; |
15 | 15 | use phpDocumentor\Descriptor\Collection; |
16 | -use phpDocumentor\Descriptor\MethodDescriptor; |
|
17 | -use phpDocumentor\Descriptor\FunctionDescriptor; |
|
18 | 16 | use Symfony\Component\Validator\Constraint; |
19 | 17 | use Symfony\Component\Validator\ConstraintValidator; |
20 | -use Symfony\Component\Validator\Exception\ConstraintDefinitionException; |
|
21 | 18 | use phpDocumentor\Plugin\Core\Descriptor\Validator\ValidationValueObject; |
22 | 19 | |
23 | 20 | /** |
@@ -220,8 +220,8 @@ |
||
220 | 220 | } |
221 | 221 | |
222 | 222 | /** |
223 | - * @param $data |
|
224 | - * @param $fileDescriptor |
|
223 | + * @param FileReflector $data |
|
224 | + * @param FileDescriptor $fileDescriptor |
|
225 | 225 | */ |
226 | 226 | protected function overridePackageTag($data, $fileDescriptor) |
227 | 227 | { |
@@ -98,7 +98,7 @@ |
||
98 | 98 | * |
99 | 99 | * @throws \Exception Rethrows exception if nessesary |
100 | 100 | * |
101 | - * @return void |
|
101 | + * @return Settings |
|
102 | 102 | */ |
103 | 103 | protected function igBinaryCompatibleCacheClear($key, $e) |
104 | 104 | { |
@@ -51,6 +51,9 @@ discard block |
||
51 | 51 | /** @var Translator */ |
52 | 52 | protected $translator; |
53 | 53 | |
54 | + /** |
|
55 | + * @param \phpDocumentor\Translator\Translator $translator |
|
56 | + */ |
|
54 | 57 | public function __construct($builder, $parser, $translator, $files) |
55 | 58 | { |
56 | 59 | $this->builder = $builder; |
@@ -341,7 +344,7 @@ discard block |
||
341 | 344 | * |
342 | 345 | * @param InputInterface $input |
343 | 346 | * |
344 | - * @return \Symfony\Component\Console\Helper\HelperInterface|null |
|
347 | + * @return null|ProgressHelper |
|
345 | 348 | */ |
346 | 349 | protected function getProgressBar(InputInterface $input) |
347 | 350 | { |
@@ -369,6 +372,10 @@ discard block |
||
369 | 372 | * @return string |
370 | 373 | */ |
371 | 374 | // @codingStandardsIgnoreStart |
375 | + |
|
376 | + /** |
|
377 | + * @param string $text |
|
378 | + */ |
|
372 | 379 | protected function __($text, $parameters = array()) |
373 | 380 | // @codingStandardsIgnoreEnd |
374 | 381 | { |
@@ -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 | { |
@@ -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 | /** |
@@ -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) |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @param $fileDescriptor |
|
86 | + * @param m\MockInterface $fileDescriptor |
|
87 | 87 | * @return m\MockInterface |
88 | 88 | */ |
89 | 89 | private function givenAProjectDescriptor($fileDescriptor) |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | } |
97 | 97 | |
98 | 98 | /** |
99 | - * @param array $errors |
|
99 | + * @param m\MockInterface[] $errors |
|
100 | 100 | * @param int $markerCount |
101 | 101 | * @return m\MockInterface |
102 | 102 | */ |
@@ -129,6 +129,13 @@ discard block |
||
129 | 129 | return $error; |
130 | 130 | } |
131 | 131 | |
132 | + /** |
|
133 | + * @param string $date |
|
134 | + * @param integer $numberOfFiles |
|
135 | + * @param integer $numberOfDeprecated |
|
136 | + * @param integer $numberOfErrors |
|
137 | + * @param integer $numberOfMarkers |
|
138 | + */ |
|
132 | 139 | private function thenTheXmlReportShouldContain( |
133 | 140 | $date, |
134 | 141 | $numberOfFiles, |
@@ -170,7 +177,7 @@ discard block |
||
170 | 177 | } |
171 | 178 | |
172 | 179 | /** |
173 | - * @param $actualXml |
|
180 | + * @param \DOMDocument $actualXml |
|
174 | 181 | * |
175 | 182 | * @return \DateTime |
176 | 183 | */ |
@@ -182,7 +189,7 @@ discard block |
||
182 | 189 | } |
183 | 190 | |
184 | 191 | /** |
185 | - * @param $actualXml |
|
192 | + * @param \DOMDocument $actualXml |
|
186 | 193 | * |
187 | 194 | * @return \DateTime |
188 | 195 | */ |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | /** |
199 | 199 | * Returns the descriptor of the element that the link points to |
200 | 200 | * |
201 | - * @return DescriptorAbstract|m\MockInterface |
|
201 | + * @return DescriptorAbstract |
|
202 | 202 | */ |
203 | 203 | private function givenAnElementToLinkTo() |
204 | 204 | { |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | /** |
216 | 216 | * Returns a collection with descriptor. This collection will be scanned to see if a link can be made to a file. |
217 | 217 | * |
218 | - * @param DescriptorAbstract|m\MockInterface $descriptor |
|
218 | + * @param m\MockInterface $descriptor |
|
219 | 219 | * |
220 | 220 | * @return Collection|m\MockInterface |
221 | 221 | */ |