Skip to content

Commit 57e959a

Browse files
authored
Removed unnecessary breaks (#72)
1 parent 61f1561 commit 57e959a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/app/Models/MenuItem.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,9 @@ public function url()
6060
switch ($this->type) {
6161
case 'external_link':
6262
return $this->link;
63-
break;
6463

6564
case 'internal_link':
6665
return is_null($this->link) ? '#' : url($this->link);
67-
break;
6866

6967
default: //page_link
7068
if ($this->page) {

0 commit comments

Comments
 (0)