Completed
Push — master ( 85e40f...7b165f )
by Pavel
13s
created
app/database/seeds/20160706233231_create_roles_rights_users.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,8 @@
 block discarded – undo
2 2
 use App\Model\Role;
3 3
 use App\Model\User;
4 4
 
5
-class CreateRolesRightsUsers {
5
+class CreateRolesRightsUsers
6
+{
6 7
     public function run()
7 8
     {
8 9
         Role::create([
Please login to merge, or discard this patch.
app/database/migrations/20170129140408_create_refresh_tokens_table.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,8 @@
 block discarded – undo
20 20
     /**
21 21
      * Undo the migration
22 22
      */
23
-    public function down() {
23
+    public function down()
24
+    {
24 25
         Capsule::schema()->drop('refresh_tokens');
25 26
     }
26 27
 }
Please login to merge, or discard this patch.
app/src/Controller/TokenController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,10 +7,8 @@
 block discarded – undo
7 7
 use App\Model\User;
8 8
 use App\Model\AccessToken;
9 9
 use App\Model\RefreshToken;
10
-
11 10
 use Slim\Http\Request;
12 11
 use Slim\Http\Response;
13
-
14 12
 use App\Common\JsonException;
15 13
 
16 14
 class TokenController extends BaseController
Please login to merge, or discard this patch.