Skip to content

Commit

Permalink
[automated] Apply Coding Standard (#6358)
Browse files Browse the repository at this point in the history
Co-authored-by: TomasVotruba <[email protected]>
  • Loading branch information
TomasVotruba and TomasVotruba authored Oct 6, 2024
1 parent cff2ed2 commit 0446e6f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rules/Php70/EregToPcreTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,7 @@ private function _ere2pcre(string $content, int $i): array
throw new InvalidEregException('empty regular expression or branch');
}

return [
$this->normalize(implode('|', $r)),
$i
];
return [$this->normalize(implode('|', $r)), $i];
}

private function normalize(string $content): string
Expand Down

0 comments on commit 0446e6f

Please sign in to comment.