diff --git a/composer.json b/composer.json index 3d8d4abe..0ca02655 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/src/Menu/Builder.php b/src/Menu/Builder.php index 9c7a036c..3f351a2f 100644 --- a/src/Menu/Builder.php +++ b/src/Menu/Builder.php @@ -33,7 +33,6 @@ public function add() } } - protected function transformItems($items) { return array_map([$this, 'transformItem'], array_filter($items, [$this, 'isVisible'])); @@ -46,7 +45,6 @@ protected function isVisible($item) protected function transformItem($item) { - if (is_string($item)) { return $item; }