From 5a71df8410e0cc68f340d21e7d07496f2ca91685 Mon Sep 17 00:00:00 2001 From: Davor Plehati Date: Sun, 26 Sep 2021 21:10:04 +0200 Subject: [PATCH] Update processors.rst Add missing `$this` --- logging/processors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }