From 574ade562e48b2423457de285decd550f1378186 Mon Sep 17 00:00:00 2001 From: sampoyigi Date: Mon, 24 Jun 2024 14:48:49 +0000 Subject: [PATCH] PHP Linting (Pint) - Fix styling --- src/Events/ReservationCanceledEvent.php | 4 +--- src/Listeners/RegistersDashboardCards.php | 8 ++++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Events/ReservationCanceledEvent.php b/src/Events/ReservationCanceledEvent.php index a538a5b..e38cae2 100644 --- a/src/Events/ReservationCanceledEvent.php +++ b/src/Events/ReservationCanceledEvent.php @@ -9,9 +9,7 @@ class ReservationCanceledEvent { use EventDispatchable; - public function __construct(public Reservation $reservation) - { - } + public function __construct(public Reservation $reservation) {} public static function eventName() { diff --git a/src/Listeners/RegistersDashboardCards.php b/src/Listeners/RegistersDashboardCards.php index 59c9459..ae80269 100644 --- a/src/Listeners/RegistersDashboardCards.php +++ b/src/Listeners/RegistersDashboardCards.php @@ -13,22 +13,22 @@ public function __invoke() 'reserved_table' => [ 'label' => 'lang:igniter.reservation::default.text_total_reserved_table', 'icon' => ' text-primary fa fa-4x fa-table', - 'valueFrom' => [$this, 'getValue'] + 'valueFrom' => [$this, 'getValue'], ], 'reserved_guest' => [ 'label' => 'lang:igniter.reservation::default.text_total_reserved_guest', 'icon' => ' text-primary fa fa-4x fa-table', - 'valueFrom' => [$this, 'getValue'] + 'valueFrom' => [$this, 'getValue'], ], 'reservation' => [ 'label' => 'lang:igniter.reservation::default.text_total_reservation', 'icon' => ' text-success fa fa-4x fa-table', - 'valueFrom' => [$this, 'getValue'] + 'valueFrom' => [$this, 'getValue'], ], 'completed_reservation' => [ 'label' => 'lang:igniter.reservation::default.text_total_completed_reservation', 'icon' => ' text-success fa fa-4x fa-table', - 'valueFrom' => [$this, 'getValue'] + 'valueFrom' => [$this, 'getValue'], ], ]; }