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 1/2] 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( From d6de3e30f1326d967c2aa4b59c983a628dc90b00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20PLANCHAT?= Date: Tue, 10 Dec 2024 17:27:10 +0100 Subject: [PATCH 2/2] Update Drop.php --- src/Plugin/Filtering/Builder/Drop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/Filtering/Builder/Drop.php b/src/Plugin/Filtering/Builder/Drop.php index bda1513..b02768f 100644 --- a/src/Plugin/Filtering/Builder/Drop.php +++ b/src/Plugin/Filtering/Builder/Drop.php @@ -130,7 +130,7 @@ class: new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\RejectionResultB 'getMessage' ), ), - new Node\Expr\ConstFetch( + new Node\Arg( new Node\Expr\Variable('exception'), ), new Node\Arg(