Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 314901e

Browse filesBrowse files
committed
[Console] fix code style
Prevent fabbot from complaining when the `SymfonyStyle` class or the `StyleInterface` are modified.
1 parent 2815ae8 commit 314901e
Copy full SHA for 314901e

File tree

Expand file treeCollapse file tree

2 files changed

+10
-10
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+10
-10
lines changed

‎src/Symfony/Component/Console/Style/StyleInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Style/StyleInterface.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Console\Style;
1313

1414
/**
15-
* Output style helpers
15+
* Output style helpers.
1616
*
1717
* @author Kevin Bond <kevinbond@gmail.com>
1818
*/
@@ -92,9 +92,9 @@ public function table(array $headers, array $rows);
9292
/**
9393
* Asks a question.
9494
*
95-
* @param string $question
96-
* @param string|null $default
97-
* @param callable|null $validator
95+
* @param string $question
96+
* @param string|null $default
97+
* @param callable|null $validator
9898
*
9999
* @return string
100100
*/
@@ -132,7 +132,7 @@ public function confirm($question, $default = true);
132132
public function choice($question, array $choices, $default = null);
133133

134134
/**
135-
* Add newline(s)
135+
* Add newline(s).
136136
*
137137
* @param int $count The number of newlines
138138
*/

‎src/Symfony/Component/Console/Style/SymfonyStyle.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Style/SymfonyStyle.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ public function __construct(InputInterface $input, OutputInterface $output)
5252
/**
5353
* Formats a message as a block of text.
5454
*
55-
* @param string|array $messages The message to write in the block
56-
* @param string|null $type The block type (added in [] on first line)
57-
* @param string|null $style The style to apply to the whole block
58-
* @param string $prefix The prefix for the block
59-
* @param bool $padding Whether to add vertical padding
55+
* @param string|array $messages The message to write in the block
56+
* @param string|null $type The block type (added in [] on first line)
57+
* @param string|null $style The style to apply to the whole block
58+
* @param string $prefix The prefix for the block
59+
* @param bool $padding Whether to add vertical padding
6060
*/
6161
public function block($messages, $type = null, $style = null, $prefix = ' ', $padding = false)
6262
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.