Passed
Pull Request — master (#14)
by ARCANEDEV
06:15
created
migrations/2019_01_01_000007_create_auth_administrator_role_pivot_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function up(): void
42 42
     {
43
-        $this->createSchema(function (Blueprint $table) {
43
+        $this->createSchema(function(Blueprint $table) {
44 44
             $table->unsignedBigInteger('administrator_id');
45 45
             $table->unsignedInteger('role_id');
46 46
             $table->timestamp('created_at')->nullable();
Please login to merge, or discard this patch.
database/migrations/2019_01_01_000004_create_auth_roles_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function up(): void
42 42
     {
43
-        $this->createSchema(function (Blueprint $table) {
43
+        $this->createSchema(function(Blueprint $table) {
44 44
             $table->id();
45 45
             $table->uuid('uuid');
46 46
             $table->string('name');
Please login to merge, or discard this patch.
database/migrations/2019_01_01_000001_create_auth_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function up(): void
42 42
     {
43
-        $this->createSchema(function (Blueprint $table) {
43
+        $this->createSchema(function(Blueprint $table) {
44 44
             $table->id();
45 45
             $table->uuid('uuid');
46 46
             $table->string('username')->nullable();
Please login to merge, or discard this patch.
migrations/2019_01_01_000008_create_auth_permission_role_pivot_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function up(): void
42 42
     {
43
-        $this->createSchema(function (Blueprint $table) {
43
+        $this->createSchema(function(Blueprint $table) {
44 44
             $table->unsignedInteger('permission_id');
45 45
             $table->unsignedInteger('role_id');
46 46
             $table->timestamp('created_at')->nullable();
Please login to merge, or discard this patch.
migrations/2019_01_01_000005_create_auth_permissions_groups_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function up(): void
42 42
     {
43
-        $this->createSchema(function (Blueprint $table) {
43
+        $this->createSchema(function(Blueprint $table) {
44 44
             $table->id();
45 45
             $table->string('name');
46 46
             $table->string('slug');
Please login to merge, or discard this patch.
database/migrations/2019_01_01_000009_create_auth_throttles_table.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         if ( ! Auth::config('throttles.enabled', false))
42 42
             return;
43 43
 
44
-        $this->createSchema(function (Blueprint $table) {
44
+        $this->createSchema(function(Blueprint $table) {
45 45
             $table->id();
46 46
             $table->unsignedBigInteger('user_id')->nullable();
47 47
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,9 @@
 block discarded – undo
38 38
      */
39 39
     public function up(): void
40 40
     {
41
-        if ( ! Auth::config('throttles.enabled', false))
42
-            return;
41
+        if ( ! Auth::config('throttles.enabled', false)) {
42
+                    return;
43
+        }
43 44
 
44 45
         $this->createSchema(function (Blueprint $table) {
45 46
             $table->id();
Please login to merge, or discard this patch.
migrations/2019_01_01_000002_create_auth_socialite_providers_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function up(): void
42 42
     {
43
-        $this->createSchema(function (Blueprint $table) {
43
+        $this->createSchema(function(Blueprint $table) {
44 44
             $table->id();
45 45
             $table->unsignedBigInteger('user_id')->index();
46 46
             $table->string('provider_type', 50);
Please login to merge, or discard this patch.
database/migrations/2019_01_01_000003_create_auth_administrators_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function up(): void
42 42
     {
43
-        $this->createSchema(function (Blueprint $table) {
43
+        $this->createSchema(function(Blueprint $table) {
44 44
             $table->id();
45 45
             $table->uuid('uuid');
46 46
             $table->string('first_name', 30)->nullable();
Please login to merge, or discard this patch.
database/migrations/2019_01_01_000011_create_auth_sessions_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function up(): void
42 42
     {
43
-        $this->createSchema(function (Blueprint $table) {
43
+        $this->createSchema(function(Blueprint $table) {
44 44
             $table->string('id')->primary();
45 45
             $table->foreignId('user_id')->nullable()->index();
46 46
             $table->string('guard', 20)->nullable();
Please login to merge, or discard this patch.