diff --git a/src/Supervisor.php b/src/Supervisor.php index 4c8a041f..a1453d65 100644 --- a/src/Supervisor.php +++ b/src/Supervisor.php @@ -155,7 +155,8 @@ public function balance(array $balance) foreach ($balance as $queue => $scale) { $this->processPools->first(function ($pool) use ($queue) { return $pool->queue() === $queue; - }, new class { + }, new class + { public function __call($method, $arguments) { } diff --git a/tests/Feature/AuthTest.php b/tests/Feature/AuthTest.php index 10358459..ee8684a1 100644 --- a/tests/Feature/AuthTest.php +++ b/tests/Feature/AuthTest.php @@ -31,7 +31,8 @@ public function test_authentication_middleware_can_pass() $middleware = new Authenticate; $response = $middleware->handle( - new class { + new class + { }, function ($value) { return 'response'; @@ -52,7 +53,8 @@ public function test_authentication_middleware_responds_with_403_on_failure() $middleware = new Authenticate; $middleware->handle( - new class { + new class + { }, function ($value) { return 'response'; diff --git a/tests/worker.php b/tests/worker.php index 445d138a..9b396681 100644 --- a/tests/worker.php +++ b/tests/worker.php @@ -9,7 +9,8 @@ use Illuminate\Queue\WorkerOptions; use Orchestra\Testbench\Concerns\CreatesApplication; -$appLoader = new class { +$appLoader = new class +{ use CreatesApplication; /**