Skip to content

Commit

Permalink
Docs CS
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne committed Mar 2, 2018
1 parent fad3615 commit 99dfd42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
*
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Traits/HasTextAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 99dfd42

Please sign in to comment.