Skip to content

Commit 1d01a5a

Browse files
committed
formatting
1 parent c2a0ff6 commit 1d01a5a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Illuminate/Foundation/Providers/FoundationServiceProvider.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,11 @@ protected function registerDeferHandler()
210210
$this->app->scoped(DeferredCallbackCollection::class);
211211

212212
$this->app['events']->listen(function (CommandFinished $event) {
213-
app(DeferredCallbackCollection::class)->invokeWhen(fn ($callback) => app()->runningInConsole() && ($event->exitCode === 0 || $callback->always)
214-
);
213+
app(DeferredCallbackCollection::class)->invokeWhen(fn ($callback) => app()->runningInConsole() && ($event->exitCode === 0 || $callback->always));
215214
});
216215

217216
$this->app['events']->listen(function (JobAttempted $event) {
218-
app(DeferredCallbackCollection::class)->invokeWhen(fn ($callback) => $event->connectionName !== 'sync' && ($event->successful() || $callback->always)
219-
);
217+
app(DeferredCallbackCollection::class)->invokeWhen(fn ($callback) => $event->connectionName !== 'sync' && ($event->successful() || $callback->always));
220218
});
221219
}
222220

0 commit comments

Comments
 (0)