minor #14620 [Console] fix code style (xabbuh)

This PR was merged into the 2.7 branch.

Discussion
----------

[Console] fix code style

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Prevent fabbot from complaining when the `SymfonyStyle` class or the `StyleInterface` are modified (like, for example, [here](a144667d5f)).

Commits
-------

314901e [Console] fix code style
This commit is contained in:
Nicolas Grekas 2015-05-15 12:15:13 +02:00
commit a88103b6e2
2 changed files with 10 additions and 10 deletions

View File

@ -12,7 +12,7 @@
namespace Symfony\Component\Console\Style;
/**
* Output style helpers
* Output style helpers.
*
* @author Kevin Bond <kevinbond@gmail.com>
*/
@ -92,9 +92,9 @@ interface StyleInterface
/**
* Asks a question.
*
* @param string $question
* @param string|null $default
* @param callable|null $validator
* @param string $question
* @param string|null $default
* @param callable|null $validator
*
* @return string
*/
@ -132,7 +132,7 @@ interface StyleInterface
public function choice($question, array $choices, $default = null);
/**
* Add newline(s)
* Add newline(s).
*
* @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.
*
* @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 $style The style to apply to the whole block
* @param string $prefix The prefix for the block
* @param bool $padding Whether to add vertical padding
* @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 $style The style to apply to the whole block
* @param string $prefix The prefix for the block
* @param bool $padding Whether to add vertical padding
*/
public function block($messages, $type = null, $style = null, $prefix = ' ', $padding = false)
{