Skip to content

Commit a599162

Browse files
authored
Apply fixes from StyleCI (#217)
1 parent 5ce7dbe commit a599162

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Commands/StartRoadRunnerCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ public function handle(ServerProcessInspector $inspector, ServerStateFile $serve
8585
'serve',
8686
]), base_path(), collect(array_merge($_ENV, [
8787
'APP_BASE_PATH' => base_path(),
88-
'LARAVEL_OCTANE' => 1]))->mapWithKeys(function ($value, $key) {
89-
return in_array($key, ['APP_ENV', 'APP_BASE_PATH', 'LARAVEL_OCTANE'])
88+
'LARAVEL_OCTANE' => 1, ]))->mapWithKeys(function ($value, $key) {
89+
return in_array($key, ['APP_ENV', 'APP_BASE_PATH', 'LARAVEL_OCTANE'])
9090
? [$key => $value]
9191
: [$key => false];
92-
})->all(), null, null))->start();
92+
})->all(), null, null))->start();
9393

9494
$serverStateFile->writeProcessId($server->getPid());
9595

src/Commands/StartSwooleCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ public function handle(
7272
(new PhpExecutableFinder)->find(), 'swoole-server', $serverStateFile->path(),
7373
], realpath(__DIR__.'/../../bin'), collect(array_merge($_ENV, [
7474
'APP_BASE_PATH' => base_path(),
75-
'LARAVEL_OCTANE' => 1]))->mapWithKeys(function ($value, $key) {
76-
return in_array($key, ['APP_ENV', 'APP_BASE_PATH', 'LARAVEL_OCTANE'])
75+
'LARAVEL_OCTANE' => 1, ]))->mapWithKeys(function ($value, $key) {
76+
return in_array($key, ['APP_ENV', 'APP_BASE_PATH', 'LARAVEL_OCTANE'])
7777
? [$key => $value]
7878
: [$key => false];
79-
})->all(), null, null))->start();
79+
})->all(), null, null))->start();
8080

8181
return $this->runServer($server, $inspector, 'swoole');
8282
}

0 commit comments

Comments
 (0)