From d09dde25e11cd23691515f609a178c5cad7995de Mon Sep 17 00:00:00 2001 From: mychidarko Date: Mon, 10 Feb 2025 01:17:43 +0000 Subject: [PATCH] chore: fix styling --- src/Config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Config.php b/src/Config.php index 1fb8ceb..a7c4dd4 100644 --- a/src/Config.php +++ b/src/Config.php @@ -66,15 +66,15 @@ public static function attachView($className, $name = null) app()->vite(); app()->config([ 'views.path' => 'views', - 'views.cache' => 'cache' + 'views.cache' => 'cache', ]); if ($className === 'Leaf\Blade') { $class->configure([ 'views' => 'views', - 'cache' => 'cache' + 'cache' => 'cache', ]); - } else if ($className === 'Leaf\BareUI') { + } elseif ($className === 'Leaf\BareUI') { $class->config('path', './views'); } }