Skip to content

Commit 3d04699

Browse files
committed
rename $constFetchs to $constFetches
1 parent 96e4b21 commit 3d04699

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rules/Php73/Rector/FuncCall/JsonThrowOnErrorRector.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)