Skip to content

Commit

Permalink
Update Transformer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat authored Dec 10, 2024
1 parent be948a8 commit 0573e2a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Builder/Transformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,15 @@ class: new Node\Name\FullyQualified(
\Kiboko\Component\Bucket\RejectionResultBucket::class
),
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 0573e2a

Please sign in to comment.