From 0949242952be33302146020b97ad2c34a2b4f205 Mon Sep 17 00:00:00 2001 From: Jan Henk Hazelaar Date: Tue, 5 Nov 2024 12:45:06 +0100 Subject: [PATCH] Pint --- src/Sites/Sites.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Sites/Sites.php b/src/Sites/Sites.php index 01820ec9..93b01aa1 100644 --- a/src/Sites/Sites.php +++ b/src/Sites/Sites.php @@ -2,17 +2,17 @@ namespace Statamic\Eloquent\Sites; -use Statamic\Support\Str; use Illuminate\Support\Facades\Schema; +use Statamic\Support\Str; class Sites extends \Statamic\Sites\Sites { protected function getSavedSites() { $sitesTable = config('statamic.eloquent-driver.table_prefix', '').'entries'; - if(! Schema::hasTable($sitesTable)) { + if (! Schema::hasTable($sitesTable)) { return $this->getFallbackConfig(); - }; + } $sites = app('statamic.eloquent.sites.model')::all();