Browse Source

Merge pull request #1559 from jqhph/analysis-NAGJQg

Apply fixes from StyleCI
Jiang Qinghua 3 years ago
parent
commit
07345b006b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Http/Middleware/Session.php

+ 2 - 2
src/Http/Middleware/Session.php

@@ -15,11 +15,11 @@ class Session
         $path_prefix = '';
         $path_arr = parse_url(config('app.url'));
 
-        if (array_key_exists('path', $path_arr) && !empty($path_arr['path'])) {
+        if (array_key_exists('path', $path_arr) && ! empty($path_arr['path'])) {
             $path_prefix = rtrim($path_arr['path'], '/');
         }
 
-        $path = $path_prefix . '/' . trim(config('admin.route.prefix'), '/');
+        $path = $path_prefix.'/'.trim(config('admin.route.prefix'), '/');
 
         config(['session.path' => $path]);