Skip to content

Commit a52cd5c

Browse files
authored
Apply fixes from StyleCI (#262)
1 parent c8af661 commit a52cd5c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/Commands/Concerns/InteractsWithServers.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ protected function runServer($server, $inspector, $type)
6666
protected function startServerWatcher()
6767
{
6868
if (! $this->option('watch')) {
69-
return new class {
69+
return new class
70+
{
7071
public function __call($method, $parameters)
7172
{
7273
return null;

tests/CommandTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ public function command()
8383
{
8484
$output = new BufferedOutput();
8585

86-
return [$output, new class($output) extends Command {
86+
return [$output, new class($output) extends Command
87+
{
8788
public function __construct($output)
8889
{
8990
parent::__construct('foo');
@@ -95,6 +96,6 @@ protected function getTerminalWidth()
9596
{
9697
return 50;
9798
}
98-
}];
99+
}, ];
99100
}
100101
}

tests/SwooleClientTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ public function test_marshal_request_method_marshals_proper_illuminate_request()
1717
{
1818
$client = new SwooleClient;
1919

20-
$swooleRequest = new class {
20+
$swooleRequest = new class
21+
{
2122
public $get = [
2223
'name' => 'Taylor',
2324
];

0 commit comments

Comments
 (0)