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:
commit
a88103b6e2
@ -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
|
||||||
*/
|
*/
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user