File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
rules/Php73/Rector/FuncCall Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -225,19 +225,19 @@ private function getArgWithFlags(array $flags): Arg|null
225225 if ($ newNbFlags === 1 ) {
226226 return new Arg ($ this ->createConstFetch ($ flags [0 ]));
227227 }
228- $ constFetchs = [];
228+ $ constFetches = [];
229229 foreach ($ flags as $ flag ) {
230- $ constFetchs [] = $ this ->createConstFetch ($ flag );
230+ $ constFetches [] = $ this ->createConstFetch ($ flag );
231231 }
232232 $ result = null ;
233- foreach ($ constFetchs as $ i => $ constFetch ) {
233+ foreach ($ constFetches as $ i => $ constFetch ) {
234234 if ($ i === 1 ) {
235235 continue ;
236236 }
237237 if (is_null ($ result )) {
238238 $ result = new Node \Expr \BinaryOp \BitwiseOr (
239239 $ constFetch ,
240- $ constFetchs [$ i + 1 ],
240+ $ constFetches [$ i + 1 ],
241241 );
242242 } else {
243243 $ result = new Node \Expr \BinaryOp \BitwiseOr (
You can’t perform that action at this time.
0 commit comments