Skip to content

Commit 29a024a

Browse files
authored
Change $requestStack to $this->requestStack
Within the __invoke() method a call was made to $requestStack. This update will use the private $requestStack property as defined in the SessionRequestProcessor class.
1 parent e4cb911 commit 29a024a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logging/processors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ using a processor::
3535
public function __invoke(array $record)
3636
{
3737
try {
38-
$session = $requestStack->getSession();
38+
$session = $this->requestStack->getSession();
3939
} catch (SessionNotFoundException $e) {
4040
return;
4141
}

0 commit comments

Comments
 (0)