From 45615469878a7c0e7d99c3586b57431a5b03e4fe Mon Sep 17 00:00:00 2001 From: Nielsvanpach Date: Tue, 12 Nov 2024 13:30:18 +0000 Subject: [PATCH] Fix styling --- src/MorphMapGeneratorServiceProvider.php | 2 +- tests/MorphMapCommandsTest.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MorphMapGeneratorServiceProvider.php b/src/MorphMapGeneratorServiceProvider.php index d8c1ffe..0676010 100644 --- a/src/MorphMapGeneratorServiceProvider.php +++ b/src/MorphMapGeneratorServiceProvider.php @@ -30,7 +30,7 @@ public function boot(MorphMapCacheDriver $cache): void ClearMorphMapCommand::class, ]); - if(method_exists($this, 'optimizes') && config('morph-map-generator.optimize', true)) { + if (method_exists($this, 'optimizes') && config('morph-map-generator.optimize', true)) { $this->optimizes('morph-map:cache', 'morph-map:clear', 'morph-map'); } } diff --git a/tests/MorphMapCommandsTest.php b/tests/MorphMapCommandsTest.php index ac3a71d..eb50be4 100644 --- a/tests/MorphMapCommandsTest.php +++ b/tests/MorphMapCommandsTest.php @@ -6,7 +6,6 @@ use Spatie\LaravelMorphMapGenerator\Cache\MorphMapCacheDriver; use Spatie\LaravelMorphMapGenerator\Commands\CacheMorphMapCommand; use Spatie\LaravelMorphMapGenerator\Commands\ClearMorphMapCommand; - use Spatie\TemporaryDirectory\TemporaryDirectory; beforeEach(function () {