- Convert class references from strings to static ::class constants built-in to PHP for improved code completion and static analysis.
- Replace Facade references using the global namespace with their FQCN for improved code completion and static analysis. - delete database\factories\PageFactory.php and app\services\Registrar.php
This commit is contained in:
parent
c4d74ca631
commit
1b2e77d907
12 changed files with 32 additions and 88 deletions
|
@ -3,10 +3,10 @@
|
|||
namespace App\Http\Middleware;
|
||||
|
||||
use Closure;
|
||||
use Session;
|
||||
use App;
|
||||
use Config;
|
||||
use Illuminate\Http\RedirectResponse;
|
||||
use Illuminate\Support\Facades\Session;
|
||||
use Illuminate\Support\Facades\App;
|
||||
// use Illuminate\Support\Facades\Config;
|
||||
// use Illuminate\Http\RedirectResponse;
|
||||
use Mcamara\LaravelLocalization\LanguageNegotiator;
|
||||
|
||||
class LocaleSessionRedirect extends LaravelLocalizationMiddlewareBase
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue