From d67755cb2da19a43a8d489e7da1338f3f3d229b3 Mon Sep 17 00:00:00 2001 From: Vincent Garnier Date: Tue, 27 Feb 2024 12:52:05 +0100 Subject: [PATCH] rector/pint --- config/blade-ui-kit-bootstrap.php | 2 +- src/Components/Buttons/Actions/Back/BackHome.php | 1 - src/Components/Buttons/Actions/Back/BackList.php | 1 - src/Concerns/BtnSize.php | 4 ++-- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/config/blade-ui-kit-bootstrap.php b/config/blade-ui-kit-bootstrap.php index b98564d..d7c34cb 100644 --- a/config/blade-ui-kit-bootstrap.php +++ b/config/blade-ui-kit-bootstrap.php @@ -43,7 +43,7 @@ 'btn-logout' => Actions\Logout::class, 'btn-move-down' => Actions\MoveDown::class, 'btn-move-up' => Actions\MoveUp::class, - 'btn-preview' => Actions\Preview::class, + 'btn-preview' => Actions\Preview::class, 'btn-recycle-bin' => Actions\RecycleBin::class, 'btn-restore' => Actions\Restore::class, 'btn-save' => Actions\Save::class, diff --git a/src/Components/Buttons/Actions/Back/BackHome.php b/src/Components/Buttons/Actions/Back/BackHome.php index cdf613b..dbd47e2 100644 --- a/src/Components/Buttons/Actions/Back/BackHome.php +++ b/src/Components/Buttons/Actions/Back/BackHome.php @@ -4,7 +4,6 @@ namespace BladeUIKitBootstrap\Components\Buttons\Actions\Back; -use BladeUIKitBootstrap\Components\Buttons\Actions\Back\Back; use Illuminate\Support\Str; class BackHome extends Back diff --git a/src/Components/Buttons/Actions/Back/BackList.php b/src/Components/Buttons/Actions/Back/BackList.php index 10c0a20..e9b5ef5 100644 --- a/src/Components/Buttons/Actions/Back/BackList.php +++ b/src/Components/Buttons/Actions/Back/BackList.php @@ -4,7 +4,6 @@ namespace BladeUIKitBootstrap\Components\Buttons\Actions\Back; -use BladeUIKitBootstrap\Components\Buttons\Actions\Back\Back; use Illuminate\Support\Str; class BackList extends Back diff --git a/src/Concerns/BtnSize.php b/src/Concerns/BtnSize.php index c4c06b6..ef5363e 100644 --- a/src/Concerns/BtnSize.php +++ b/src/Concerns/BtnSize.php @@ -17,9 +17,9 @@ private function validBtnSize(?string $size = null, bool $lg = false, bool $sm = { if ($size !== null) { $size = \strtolower(\trim($size)); - } elseif ($lg === true) { + } elseif ($lg) { $size = 'lg'; - } elseif ($sm === true) { + } elseif ($sm) { $size = 'sm'; } else { return null;