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 8659002 commit c0be533Copy full SHA for c0be533
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