We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dafd120 commit 8a6448bCopy full SHA for 8a6448b
src/Rules/Extension.php
@@ -36,8 +36,8 @@ public function check($value): bool
36
{
37
$this->requireParameters(['allowed_extensions']);
38
$allowedExtensions = $this->parameter('allowed_extensions');
39
- foreach($allowedExtensions as $key => $ext){
40
- $allowedExtensions[$key] = ltrim($ext,'.');
+ foreach ($allowedExtensions as $key => $ext) {
+ $allowedExtensions[$key] = ltrim($ext, '.');
41
}
42
43
$or = $this->validation ? $this->validation->getTranslation('or') : 'or';
0 commit comments