Skip to content

Commit

Permalink
fix: coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroTroller committed Jul 29, 2020
1 parent 600e477 commit 737a373
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protected function applyFix(SplFileInfo $file, Tokens $tokens): void
$i = $tokens->getNextTokenOfKind($i, ['{']);
$elements = $this->getElements($tokens, $i);

if ($elements === []) {
if ([] === $elements) {
continue;
}

Expand Down

0 comments on commit 737a373

Please sign in to comment.