diff --git a/src/Commands/PermanentCachesStatusCommand.php b/src/Commands/PermanentCachesStatusCommand.php index b03f54d..2125bdb 100644 --- a/src/Commands/PermanentCachesStatusCommand.php +++ b/src/Commands/PermanentCachesStatusCommand.php @@ -3,7 +3,6 @@ namespace Vormkracht10\PermanentCache\Commands; use Illuminate\Console\Command; -use ReflectionClass; use Spatie\Emoji\Emoji; use Symfony\Component\Console\Helper\TableSeparator; use Vormkracht10\PermanentCache\Facades\PermanentCache; diff --git a/src/Commands/UpdatePermanentCachesCommand.php b/src/Commands/UpdatePermanentCachesCommand.php index 59e41f8..172ff8b 100644 --- a/src/Commands/UpdatePermanentCachesCommand.php +++ b/src/Commands/UpdatePermanentCachesCommand.php @@ -39,7 +39,7 @@ public function handle() if ( $this->option('filter') && - !str_contains(strtolower($cache->getName()), strtolower($this->option('filter'))) + ! str_contains(strtolower($cache->getName()), strtolower($this->option('filter'))) ) { continue; } diff --git a/src/helpers.php b/src/helpers.php index 3f1957d..52f02ac 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -3,7 +3,7 @@ if (! function_exists('readable_size')) { function readable_size($bytes = 0, $decimals = 2, $decimal_separator = ',', $thousands_separator = '.'): string { - if(is_null($bytes)) { + if (is_null($bytes)) { return ''; }