We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aa1f5b commit 9767ecaCopy full SHA for 9767eca
lib/private/Command/ClosureJob.php
@@ -12,7 +12,7 @@
12
13
class ClosureJob extends QueuedJob {
14
protected function run($argument) {
15
- $callable = unserialize($argument, [LaravelClosure::class]);
+ $callable = unserialize($argument, ['allowed_classes' => [LaravelClosure::class]]);
16
$callable = $callable->getClosure();
17
if (is_callable($callable)) {
18
$callable();
0 commit comments