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( 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(