Skip to content

Commit

Permalink
Update Drop.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat authored Dec 10, 2024
1 parent 69f9a4b commit 8d6932c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/Plugin/Filtering/Builder/Drop.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,21 @@ class: new Node\Stmt\Class_(null, [
new Node\Expr\Variable('input'),
new Node\Expr\Yield_(
new Node\Expr\New_(
new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\RejectionResultBucket'),
class: new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\RejectionResultBucket'),
args: [
new Node\Arg(
new Node\Expr\MethodCall(
new Node\Expr\Variable('exception'),
'getMessage'
),
),
new Node\Expr\ConstFetch(
new Node\Expr\Variable('exception'),
),
new Node\Arg(
new Node\Expr\Variable('input'),
),
],
),
),
),
Expand Down

0 comments on commit 8d6932c

Please sign in to comment.