We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccdb4ae commit 727463aCopy full SHA for 727463a
Messenger/ContextStamp.php
@@ -27,7 +27,8 @@ final class ContextStamp implements StampInterface
27
28
public function __construct(array $context = [])
29
{
30
- if (($request = ($context['request'] ?? null)) && $request instanceof Request && $request->hasSession()) {
+ /* Symfony does not guarantee that the Request object is serializable */
31
+ if (($request = ($context['request'] ?? null)) && $request instanceof Request) {
32
unset($context['request']);
33
}
34
0 commit comments