Skip to content

Commit

Permalink
Apply fixes from StyleCI (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored May 14, 2021
1 parent e8e10f0 commit a5d1c74
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/Supervisor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}
Expand Down
6 changes: 4 additions & 2 deletions tests/Feature/AuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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';
Expand Down
3 changes: 2 additions & 1 deletion tests/worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
use Illuminate\Queue\WorkerOptions;
use Orchestra\Testbench\Concerns\CreatesApplication;

$appLoader = new class {
$appLoader = new class
{
use CreatesApplication;

/**
Expand Down

0 comments on commit a5d1c74

Please sign in to comment.