Skip to content

Commit

Permalink
PHP Linting (Pint) - Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoyigi authored and github-actions[bot] committed Jun 24, 2024
1 parent 211eb41 commit 574ade5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/Events/ReservationCanceledEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ class ReservationCanceledEvent
{
use EventDispatchable;

public function __construct(public Reservation $reservation)
{
}
public function __construct(public Reservation $reservation) {}

public static function eventName()
{
Expand Down
8 changes: 4 additions & 4 deletions src/Listeners/RegistersDashboardCards.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
],
];
}
Expand Down

0 comments on commit 574ade5

Please sign in to comment.