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 2eaa6f2 commit cfaf85eCopy full SHA for cfaf85e
tests/Integration/Concurrency/Console/InvokeSerializedClosureCommandTest.php
@@ -57,10 +57,8 @@ public function testItCanInvokeSerializedClosureFromEnvironment()
57
$closure = fn () => 'From Environment';
58
$serialized = serialize(new SerializableClosure($closure));
59
60
- $encoded = base64_encode($serialized);
61
-
62
// Set the environment variable
63
- $_SERVER['LARAVEL_INVOKABLE_CLOSURE'] = $encoded;
+ $_SERVER['LARAVEL_INVOKABLE_CLOSURE'] = base64_encode($serialized);
64
65
// Create a new output buffer
66
$output = new BufferedOutput;
0 commit comments