Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroennoten committed Aug 27, 2016
1 parent 6a2709f commit 55d8e47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
]
},
"require": {
"laravel/framework": "~5.1.11|~5.2.0|~5.3.0",
"laravel/framework": "~5.1.12|~5.2.0|~5.3.0",
"php": ">=5.5.9"
},
"require-dev": {
Expand Down
2 changes: 0 additions & 2 deletions src/Menu/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public function add()
}
}


protected function transformItems($items)
{
return array_map([$this, 'transformItem'], array_filter($items, [$this, 'isVisible']));
Expand All @@ -46,7 +45,6 @@ protected function isVisible($item)

protected function transformItem($item)
{

if (is_string($item)) {
return $item;
}
Expand Down

0 comments on commit 55d8e47

Please sign in to comment.