Skip to content

Commit 1a0feca

Browse files
authored
🎨 Fix Exception message typo (#86)
1 parent ed28a3a commit 1a0feca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Navi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public function withClasses(string|array $classes): self
164164
public function withoutClasses(string|array $classes): self
165165
{
166166
if ($this->menu) {
167-
throw new MenuLifecycleException('Attributes must be set before building the menu.');
167+
throw new MenuLifecycleException('Classes must be set before building the menu.');
168168
}
169169

170170
$classes = is_string($classes)

0 commit comments

Comments
 (0)