diff --git a/src/Menu.php b/src/Menu.php index aba1137..ebdb101 100644 --- a/src/Menu.php +++ b/src/Menu.php @@ -124,7 +124,7 @@ public function add(Item $item) /** * Add an item to the menu if a (non-strict) condition is met. * - * @param bool $condition + * @param bool $condition * @param \Spatie\Menu\Item $item * * @return $this @@ -164,7 +164,7 @@ public function empty() /** * Add a link to the menu if a (non-strict) condition is met. * - * @param bool $condition + * @param bool $condition * @param string $url * @param string $text * @@ -183,7 +183,7 @@ public function linkIf($condition, string $url, string $text) * Shortcut function to add raw html to the menu. * * @param string $html - * @param array $parentAttributes + * @param array $parentAttributes * * @return $this */ @@ -195,9 +195,9 @@ public function html(string $html, array $parentAttributes = []) /** * Add a chunk of html if a (non-strict) condition is met. * - * @param bool $condition + * @param bool $condition * @param string $html - * @param array $parentAttributes + * @param array $parentAttributes * * @return $this */ @@ -324,7 +324,7 @@ public function registerFilter(callable $callable) /** * Apply a filter to an item. Returns the result of the filter. * - * @param callable $filter + * @param callable $filter * @param \Spatie\Menu\Item $item */ protected function applyFilter(callable $filter, Item $item) @@ -393,7 +393,7 @@ public function isActive(): bool * only be applied to items of that type. * * @param callable|string $urlOrCallable - * @param string $root + * @param string $root * * @return $this */ diff --git a/src/Traits/HasTextAttributes.php b/src/Traits/HasTextAttributes.php index ab756dd..1e21e5a 100644 --- a/src/Traits/HasTextAttributes.php +++ b/src/Traits/HasTextAttributes.php @@ -22,7 +22,7 @@ public function prepend(string $prepend) * Prepend the text with a string of html on render if a certain condition is * met. * - * @param bool $condition + * @param bool $condition * @param string $prepend * * @return $this @@ -54,7 +54,7 @@ public function append(string $append) * Append the text with a string of html on render if a certain condition is * met. * - * @param bool $condition + * @param bool $condition * @param string $append * * @return static