[Console] fix code style

Prevent fabbot from complaining when the `SymfonyStyle` class or the
`StyleInterface` are modified.
This commit is contained in:
Christian Flothmann 2015-05-12 22:06:34 +02:00
parent 2815ae8f93
commit 314901e798
2 changed files with 10 additions and 10 deletions

View File

@ -12,7 +12,7 @@
namespace Symfony\Component\Console\Style; namespace Symfony\Component\Console\Style;
/** /**
* Output style helpers * Output style helpers.
* *
* @author Kevin Bond <kevinbond@gmail.com> * @author Kevin Bond <kevinbond@gmail.com>
*/ */
@ -92,9 +92,9 @@ interface StyleInterface
/** /**
* Asks a question. * Asks a question.
* *
* @param string $question * @param string $question
* @param string|null $default * @param string|null $default
* @param callable|null $validator * @param callable|null $validator
* *
* @return string * @return string
*/ */
@ -132,7 +132,7 @@ interface StyleInterface
public function choice($question, array $choices, $default = null); public function choice($question, array $choices, $default = null);
/** /**
* Add newline(s) * Add newline(s).
* *
* @param int $count The number of newlines * @param int $count The number of newlines
*/ */

View File

@ -52,11 +52,11 @@ class SymfonyStyle extends OutputStyle
/** /**
* Formats a message as a block of text. * Formats a message as a block of text.
* *
* @param string|array $messages The message to write in the block * @param string|array $messages The message to write in the block
* @param string|null $type The block type (added in [] on first line) * @param string|null $type The block type (added in [] on first line)
* @param string|null $style The style to apply to the whole block * @param string|null $style The style to apply to the whole block
* @param string $prefix The prefix for the block * @param string $prefix The prefix for the block
* @param bool $padding Whether to add vertical padding * @param bool $padding Whether to add vertical padding
*/ */
public function block($messages, $type = null, $style = null, $prefix = ' ', $padding = false) public function block($messages, $type = null, $style = null, $prefix = ' ', $padding = false)
{ {