@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | * fill rows that contains rowspan > 1. |
377 | 377 | * |
378 | 378 | * @param array $rows |
379 | - * @param array $line |
|
379 | + * @param integer $line |
|
380 | 380 | * |
381 | 381 | * @return array |
382 | 382 | */ |
@@ -529,7 +529,6 @@ discard block |
||
529 | 529 | /** |
530 | 530 | * Gets column width. |
531 | 531 | * |
532 | - * @param int $column |
|
533 | 532 | * |
534 | 533 | * @return int |
535 | 534 | */ |
@@ -19,7 +19,6 @@ |
||
19 | 19 | class TableSeparator extends TableCell |
20 | 20 | { |
21 | 21 | /** |
22 | - * @param string $value |
|
23 | 22 | * @param array $options |
24 | 23 | */ |
25 | 24 | public function __construct(array $options = array()) |
@@ -463,7 +463,7 @@ |
||
463 | 463 | * |
464 | 464 | * @param bool $asDom Whether to return a DOM or an XML string |
465 | 465 | * |
466 | - * @return string|\DOMDocument An XML string representing the InputDefinition |
|
466 | + * @return string An XML string representing the InputDefinition |
|
467 | 467 | * |
468 | 468 | * @deprecated since version 2.3, to be removed in 3.0. |
469 | 469 | */ |
@@ -49,6 +49,11 @@ |
||
49 | 49 | require_once self::$fixturesPath.'/FooSubnamespaced2Command.php'; |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param string $text |
|
54 | + * |
|
55 | + * @return string |
|
56 | + */ |
|
52 | 57 | protected function normalizeLineBreaks($text) |
53 | 58 | { |
54 | 59 | return str_replace(PHP_EOL, "\n", $text); |
@@ -172,6 +172,9 @@ |
||
172 | 172 | $this->assertEquals('not yet', $dialog->ask($this->getOutputStream(), 'Do you have a job?', 'not yet')); |
173 | 173 | } |
174 | 174 | |
175 | + /** |
|
176 | + * @param string $input |
|
177 | + */ |
|
175 | 178 | protected function getInputStream($input) |
176 | 179 | { |
177 | 180 | $stream = fopen('php://memory', 'r+', false); |
@@ -212,6 +212,9 @@ |
||
212 | 212 | |
213 | 213 | protected $lastMessagesLength; |
214 | 214 | |
215 | + /** |
|
216 | + * @param string $expected |
|
217 | + */ |
|
215 | 218 | protected function generateOutput($expected) |
216 | 219 | { |
217 | 220 | $expectedout = $expected; |
@@ -592,6 +592,9 @@ |
||
592 | 592 | return new StreamOutput(fopen('php://memory', 'r+', false), $verbosity, $decorated); |
593 | 593 | } |
594 | 594 | |
595 | + /** |
|
596 | + * @param string $expected |
|
597 | + */ |
|
595 | 598 | protected function generateOutput($expected) |
596 | 599 | { |
597 | 600 | $count = substr_count($expected, "\n"); |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * Adds a service as event listener. |
59 | 59 | * |
60 | 60 | * @param string $eventName Event for which the listener is added |
61 | - * @param array $callback The service ID of the listener service & the method |
|
61 | + * @param string[] $callback The service ID of the listener service & the method |
|
62 | 62 | * name that has to be called |
63 | 63 | * @param int $priority The higher this value, the earlier an event listener |
64 | 64 | * will be triggered in the chain. |
@@ -222,6 +222,9 @@ discard block |
||
222 | 222 | { |
223 | 223 | } |
224 | 224 | |
225 | + /** |
|
226 | + * @param string $eventName |
|
227 | + */ |
|
225 | 228 | private function preProcess($eventName) |
226 | 229 | { |
227 | 230 | foreach ($this->dispatcher->getListeners($eventName) as $listener) { |
@@ -234,6 +237,9 @@ discard block |
||
234 | 237 | } |
235 | 238 | } |
236 | 239 | |
240 | + /** |
|
241 | + * @param string $eventName |
|
242 | + */ |
|
237 | 243 | private function postProcess($eventName) |
238 | 244 | { |
239 | 245 | unset($this->wrappedListeners[$eventName]); |