From 0cc2d10012af10d93a5306857a40c5d0a57586b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20PLANCHAT?= Date: Tue, 10 Dec 2024 17:26:04 +0100 Subject: [PATCH] Update Reject.php --- src/Plugin/Filtering/Builder/Reject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/Filtering/Builder/Reject.php b/src/Plugin/Filtering/Builder/Reject.php index 82639e5..676b426 100644 --- a/src/Plugin/Filtering/Builder/Reject.php +++ b/src/Plugin/Filtering/Builder/Reject.php @@ -132,7 +132,7 @@ class: new Node\Name\FullyQualified( 'getMessage' ), ), - new Node\Expr\ConstFetch( + new Node\Arg( new Node\Expr\Variable('exception'), ), new Node\Arg(