Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit fe7e0df

Browse files
committed
more cleanup for 5.5
Update composer.json
1 parent d38a922 commit fe7e0df

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php" : "~7.0",
20-
"illuminate/support": "5.4.*|5.5.*",
20+
"illuminate/support": "5.5.*",
2121
"gazsp/baum": "^1.1",
2222
"mcamara/laravel-localization": "^1.2",
2323
"spatie/laravel-permission": "^2.5",

src/SimpleMenuServiceProvider.php

-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use ctf0\SimpleMenu\Models\Menu;
66
use ctf0\SimpleMenu\Models\Page;
77
use Illuminate\Support\Facades\URL;
8-
use Illuminate\Foundation\AliasLoader;
98
use Illuminate\Support\ServiceProvider;
109
use ctf0\SimpleMenu\Observers\MenuObserver;
1110
use ctf0\SimpleMenu\Observers\PageObserver;
@@ -19,7 +18,6 @@ class SimpleMenuServiceProvider extends ServiceProvider
1918
{
2019
protected $packagesSP = [
2120
\Baum\Providers\BaumServiceProvider::class,
22-
\Mcamara\LaravelLocalization\LaravelLocalizationServiceProvider::class,
2321
];
2422

2523
/**
@@ -151,8 +149,6 @@ protected function regPSP()
151149
protected function regPA()
152150
{
153151
$this->app->alias('simplemenu', SimpleMenu::class);
154-
155-
AliasLoader::getInstance()->alias('LaravelLocalization', 'Mcamara\LaravelLocalization\Facades\LaravelLocalization');
156152
}
157153

158154
/**

0 commit comments

Comments
 (0)