Completed
Push — master ( f6a2a6...3dec05 )
by wen
04:00
created
src/Http/Controllers/Auth/LoginController.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace Sco\Admin\Http\Controllers\Auth;
4 4
 
5 5
 use Auth;
6
+use Illuminate\Foundation\Auth\AuthenticatesUsers;
6 7
 use Illuminate\Foundation\Validation\ValidatesRequests;
7 8
 use Illuminate\Http\Request;
8 9
 use Illuminate\Routing\Controller;
9
-use Illuminate\Foundation\Auth\AuthenticatesUsers;
10 10
 
11 11
 class LoginController extends Controller
12 12
 {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      *
101 101
      * @param  Request $request
102 102
      *
103
-     * @return \Illuminate\Http\Response
103
+     * @return \Illuminate\Http\RedirectResponse
104 104
      */
105 105
     public function logout(Request $request)
106 106
     {
Please login to merge, or discard this patch.
src/Console/InstallCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -94,6 +94,9 @@
 block discarded – undo
94 94
         }
95 95
     }
96 96
 
97
+    /**
98
+     * @param string $command
99
+     */
97 100
     private function executeCommand($command)
98 101
     {
99 102
         $process = new Process($command);
Please login to merge, or discard this patch.
src/Models/Permission.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Sco\Admin\Models;
4 4
 
5
-use DB;
6 5
 use Cache;
6
+use DB;
7 7
 use Illuminate\Database\Eloquent\Model;
8 8
 use Illuminate\Http\Request;
9 9
 use Sco\Admin\Exceptions\AdminHttpException;
Please login to merge, or discard this patch.
src/Traits/EntrustRoleTrait.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
  */
12 12
 
13 13
 use Illuminate\Cache\TaggableStore;
14
-use Illuminate\Support\Facades\Config;
15 14
 use Illuminate\Support\Facades\Cache;
15
+use Illuminate\Support\Facades\Config;
16 16
 
17 17
 trait EntrustRoleTrait
18 18
 {
Please login to merge, or discard this patch.
database/seeds/PermissionsTableSeeder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -65,6 +65,10 @@
 block discarded – undo
65 65
             $roleEdit->id, 0, '', '用于编辑角色时获取数据');
66 66
     }
67 67
 
68
+    /**
69
+     * @param string $name
70
+     * @param string $displayName
71
+     */
68 72
     private function insertPerm(
69 73
         $name, $displayName, $pid, $isMenu = 0, $icon = '', $description = ''
70 74
     ) {
Please login to merge, or discard this patch.