Skip to content

Commit 0573e2a

Browse files
authored
Update Transformer.php
1 parent be948a8 commit 0573e2a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Builder/Transformer.php

+9
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,15 @@ class: new Node\Name\FullyQualified(
150150
\Kiboko\Component\Bucket\RejectionResultBucket::class
151151
),
152152
args: [
153+
new Node\Arg(
154+
new Node\Expr\MethodCall(
155+
new Node\Expr\Variable('exception'),
156+
'getMessage'
157+
),
158+
),
159+
new Node\Expr\ConstFetch(
160+
new Node\Expr\Variable('exception'),
161+
),
153162
new Node\Arg(
154163
new Node\Expr\Variable('input'),
155164
),

0 commit comments

Comments
 (0)