From 5db08afd1a65c4bfceac4889c6288a81abd09cc7 Mon Sep 17 00:00:00 2001 From: Luke Towers Date: Tue, 5 Nov 2024 12:38:50 -0600 Subject: [PATCH] Code quality fixes --- src/Filesystem/Filesystem.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Filesystem/Filesystem.php b/src/Filesystem/Filesystem.php index 1d91b0de..ac4211a0 100644 --- a/src/Filesystem/Filesystem.php +++ b/src/Filesystem/Filesystem.php @@ -2,9 +2,10 @@ use DirectoryIterator; use FilesystemIterator; +use Illuminate\Filesystem\Filesystem as FilesystemBase; +use InvalidArgumentException; use ReflectionClass; use Winter\Storm\Support\Facades\Config; -use Illuminate\Filesystem\Filesystem as FilesystemBase; /** * File helper @@ -118,13 +119,13 @@ public function sizeToBytes(string $size): string // No multiplication needed; already in bytes break; default: - throw new \InvalidArgumentException("Unknown size unit '$unit'"); + throw new InvalidArgumentException("Unknown size unit '$unit'"); } return (string) $value; } - throw new \InvalidArgumentException("Invalid size format '$size'"); + throw new InvalidArgumentException("Invalid size format '$size'"); } /**