Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jul 26, 2023
1 parent a56efdb commit f7e3fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Rules/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ protected function toKilobytes($size)
Str::endsWith($size, 'mb') => $value * 1000,
Str::endsWith($size, 'gb') => $value * 1000000,
Str::endsWith($size, 'tb') => $value * 1000000000,
default => throw new InvalidArgumentException("Invalid file size suffix."),
default => throw new InvalidArgumentException('Invalid file size suffix.'),
});
}

Expand Down

0 comments on commit f7e3fde

Please sign in to comment.