Skip to content

Commit 56d433a

Browse files
committed
fix breaking change
1 parent 9435827 commit 56d433a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Illuminate/Queue/QueueServiceProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ protected function registerFailedJobServices()
235235
$this->app->singleton('queue.failer', function ($app) {
236236
$config = $app['config']['queue.failed'];
237237

238-
if (! isset($config['driver']) || $config['driver'] === 'null') {
238+
if (array_key_exists('driver', $config) &&
239+
(is_null($config['driver']) || $config['driver'] === 'null')) {
239240
return new NullFailedJobProvider;
240241
}
241242

0 commit comments

Comments
 (0)