Skip to content

Commit 0270835

Browse files
stengithub-actions[bot]
authored andcommitted
Fix styling
1 parent 9d1cd5d commit 0270835

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/Components/Menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Illuminate\View\Component;
66
use Statikbe\FilamentFlexibleContentBlockPages\Facades\FilamentFlexibleContentBlockPages;
7-
use Statikbe\FilamentFlexibleContentBlockPages\Models\Contracts\HasMenuLabel;
87

98
class Menu extends Component
109
{
@@ -47,6 +46,7 @@ public function render()
4746
}
4847

4948
$defaultTemplate = "filament-flexible-content-block-pages::{$theme}.components.menu.default";
49+
5050
return view($defaultTemplate);
5151
}
5252

src/Components/MenuItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function render()
3535
}
3636

3737
$defaultTemplate = "filament-flexible-content-block-pages::{$theme}.components.menu.default-item";
38+
3839
return view($defaultTemplate);
3940
}
40-
4141
}

src/Models/MenuItem.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class MenuItem extends Model
3737
use ModelTree;
3838

3939
const LINK_TYPE_URL = 'url';
40+
4041
const LINK_TYPE_ROUTE = 'route';
4142

4243
protected $fillable = [
@@ -176,7 +177,7 @@ public function isCurrentMenuItem(): bool
176177

177178
public function hasActiveChildren(): bool
178179
{
179-
if (!$this->children || $this->children->isEmpty()) {
180+
if (! $this->children || $this->children->isEmpty()) {
180181
return false;
181182
}
182183

0 commit comments

Comments
 (0)