diff --git a/logging/processors.rst b/logging/processors.rst index 3c4faacda5f..fbc7d14c151 100644 --- a/logging/processors.rst +++ b/logging/processors.rst @@ -35,7 +35,7 @@ using a processor:: public function __invoke(array $record) { try { - $session = $requestStack->getSession(); + $session = $this->requestStack->getSession(); } catch (SessionNotFoundException $e) { return; }