Skip to content

Commit c92f7d8

Browse files
committed
style(cs): lint
1 parent e5f9181 commit c92f7d8

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

src/Application.php

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
namespace Ahc\Cli;
44

55
use Ahc\Cli\Helper\OutputHelper;
6-
use Ahc\Cli\IO\Interactor;
76
use Ahc\Cli\Input\Command;
8-
use Ahc\Cli\Output\Writer;
7+
use Ahc\Cli\IO\Interactor;
98

109
/**
1110
* A cli application.
@@ -117,13 +116,13 @@ public function logo(string $logo = null)
117116
}
118117

119118
/**
120-
* Add a command by its name desc alias etc
119+
* Add a command by its name desc alias etc.
121120
*
122-
* @param string $name
123-
* @param string $desc
124-
* @param string $alias
125-
* @param bool $allowUnknown
126-
* @param bool $default
121+
* @param string $name
122+
* @param string $desc
123+
* @param string $alias
124+
* @param bool $allowUnknown
125+
* @param bool $default
127126
*
128127
* @return Command
129128
*/
@@ -133,8 +132,7 @@ public function command(
133132
string $alias = '',
134133
bool $allowUnknown = false,
135134
bool $default = false
136-
): Command
137-
{
135+
): Command {
138136
$command = new Command($name, $desc, $allowUnknown, $this);
139137

140138
$this->add($command, $alias, $default);
@@ -175,7 +173,7 @@ public function add(Command $command, string $alias = '', bool $default = false)
175173
/**
176174
* Gets matching command for given argv.
177175
*
178-
* @param array $argv
176+
* @param array $argv
179177
*
180178
* @return Command
181179
*/

src/Output/Writer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ public function write(string $text, bool $eol = false): self
9191
/**
9292
* Really write to the stream.
9393
*
94-
* @param string $text
95-
* @param bool $error
94+
* @param string $text
95+
* @param bool $error
9696
*
9797
* @return self
9898
*/

0 commit comments

Comments
 (0)