We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69f9a4b commit 8d6932cCopy full SHA for 8d6932c
src/Plugin/Filtering/Builder/Drop.php
@@ -122,7 +122,21 @@ class: new Node\Stmt\Class_(null, [
122
new Node\Expr\Variable('input'),
123
new Node\Expr\Yield_(
124
new Node\Expr\New_(
125
- new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\RejectionResultBucket'),
+ class: new Node\Name\FullyQualified('Kiboko\\Component\\Bucket\\RejectionResultBucket'),
126
+ args: [
127
+ new Node\Arg(
128
+ new Node\Expr\MethodCall(
129
+ new Node\Expr\Variable('exception'),
130
+ 'getMessage'
131
+ ),
132
133
+ new Node\Expr\ConstFetch(
134
135
136
137
+ new Node\Expr\Variable('input'),
138
139
+ ],
140
),
141
142
0 commit comments