8000 [automated] Apply Coding Standard (#6892) · rectorphp/rector-src@ac3a941 · GitHub
[go: up one dir, main page]

Skip to content

Commit ac3a941

Browse files
authored
[automated] Apply Coding Standard (#6892)
Co-authored-by: TomasVotruba <924196+TomasVotruba@users.noreply.github.com>
1 parent 2c73f6a commit ac3a941

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

rules/Php73/Rector/FuncCall/ArrayKeyFirstLastRector.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,10 @@ private function changeNextKeyCall(
172172
break;
173173
}
174174

175-
if ($stmtsAware->stmts[$nextKey] instanceof Expression && ! $this->shouldSkip($stmtsAware->stmts[$nextKey])) {
176-
$this->processArrayKeyFirstLast(
177-
$stmtsAware,
178-
$nextKey
179-
);
175+
if ($stmtsAware->stmts[$nextKey] instanceof Expression && ! $this->shouldSkip(
176+
$stmtsAware->stmts[$nextKey]
177+
)) {
178+
$this->processArrayKeyFirstLast($stmtsAware, $nextKey);
180179
break;
181180
}
182181

0 commit comments

Comments
 (0)
0