Skip to content

Commit

Permalink
Merge pull request #12 from Codexshaper/analysis-4xaGkD
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Codexshaper authored Jun 2, 2020
2 parents 8fa0556 + f44b04b commit fc6e4c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
if ($menuItem->url != null) {
$controller = $menuItem->controller ?? '\CodexShaper\Menu\Http\Controllers\MenuItemController@setRoute';
$partials = explode('@', $menuItem->controller);
if (! class_exists($partials[0])) {

if (!class_exists($partials[0])) {
$controller = '\CodexShaper\Menu\Http\Controllers\MenuItemController@setRoute';
}

Expand Down

0 comments on commit fc6e4c1

Please sign in to comment.