Skip to content

Commit

Permalink
🎨 Fix Exception message typo (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x authored Oct 1, 2024
1 parent ed28a3a commit 1a0feca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Navi.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function withClasses(string|array $classes): self
public function withoutClasses(string|array $classes): self
{
if ($this->menu) {
throw new MenuLifecycleException('Attributes must be set before building the menu.');
throw new MenuLifecycleException('Classes must be set before building the menu.');
}

$classes = is_string($classes)
Expand Down

0 comments on commit 1a0feca

Please sign in to comment.