From 9ebc30e0b910afccd47b63026634265706554b32 Mon Sep 17 00:00:00 2001 From: indykoning Date: Fri, 24 Nov 2023 15:28:04 +0000 Subject: [PATCH] Apply fixes from Duster --- src/Rapidez.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rapidez.php b/src/Rapidez.php index fbed0e474..2896b61ea 100644 --- a/src/Rapidez.php +++ b/src/Rapidez.php @@ -117,9 +117,9 @@ public function withStore(Store|array|callable|int|string $store, callable $call public function checkCompadreVesion($version = '0.0.1', $operator = '>=') { - $compadreVersion = Cache::rememberForever('compadre-version', fn() => DB::table('setup_module')->where('module', 'Rapidez_Compadre')->value('schema_version') ?? false); + $compadreVersion = Cache::rememberForever('compadre-version', fn () => DB::table('setup_module')->where('module', 'Rapidez_Compadre')->value('schema_version') ?? false); - if (!$compadreVersion) { + if (! $compadreVersion) { return false; }