Skip to content

Commit 8a6448b

Browse files
committed
Fix phpcs violations
1 parent dafd120 commit 8a6448b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Rules/Extension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public function check($value): bool
3636
{
3737
$this->requireParameters(['allowed_extensions']);
3838
$allowedExtensions = $this->parameter('allowed_extensions');
39-
foreach($allowedExtensions as $key => $ext){
40-
$allowedExtensions[$key] = ltrim($ext,'.');
39+
foreach ($allowedExtensions as $key => $ext) {
40+
$allowedExtensions[$key] = ltrim($ext, '.');
4141
}
4242

4343
$or = $this->validation ? $this->validation->getTranslation('or') : 'or';

0 commit comments

Comments
 (0)