We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 561ecb6 + 0c5b1d1 commit 6a7f943Copy full SHA for 6a7f943
src/RequestContextProvider.php
@@ -59,7 +59,7 @@ public function getContext(): ?array
59
return [
60
'uri' => $this->currentRequest->getUri(),
61
'method' => $this->currentRequest->getMethod(),
62
- 'controller' => $controller ? $this->cloner->cloneVar(class_basename($controller)) : $controller,
+ 'controller' => $controller ? $this->cloner->cloneVar(class_basename($controller)) : $this->cloner->cloneVar(null),
63
'identifier' => spl_object_hash($this->currentRequest),
64
];
65
}
0 commit comments