Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
JibayMcs authored and github-actions[bot] committed Aug 6, 2024
1 parent ab04e60 commit 6bc290a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/FilamentTourPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ public function register(Panel $panel): void
$panel->renderHook('panels::body.start', fn () => Blade::render('<livewire:filament-tour-widget/>'));
}

public function boot(Panel $panel): void
{
}
public function boot(Panel $panel): void {}

public function onlyVisibleOnce(bool $onlyVisibleOnce = true): self
{
Expand Down
4 changes: 2 additions & 2 deletions src/Livewire/FilamentTourWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ public function load(): void
}

foreach ($classesUsingHasTour as $class) {
$this->tours = array_merge($this->tours, (new $class())->constructTours($class));
$this->tours = array_merge($this->tours, (new $class)->constructTours($class));
}

foreach ($classesUsingHasHighlight as $class) {
$this->highlights = array_merge($this->highlights, (new $class())->constructHighlights($class));
$this->highlights = array_merge($this->highlights, (new $class)->constructHighlights($class));
}

$this->dispatch('filament-tour::loaded-elements',
Expand Down
2 changes: 1 addition & 1 deletion src/Tour/HasTour.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function constructTours($class): array
],
];

if (!$tour->hasDisabledEvents()) {
if (! $tour->hasDisabledEvents()) {
$data[$item]['events'] = [
'redirectOnNext' => $step->getRedirectOnNext(),
'clickOnNext' => $step->getClickOnNext(),
Expand Down

0 comments on commit 6bc290a

Please sign in to comment.