Passed
Push — main ( 473572...47e9b9 )
by PRATIK
06:23
created
database/factories/UserFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function unverified()
40 40
     {
41
-        return $this->state(function (array $attributes) {
41
+        return $this->state(function(array $attributes) {
42 42
             return [
43 43
                 'email_verified_at' => null,
44 44
             ];
Please login to merge, or discard this patch.
database/migrations/2021_05_28_043043_create_preferences_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('preferences', function (Blueprint $table) {
16
+        Schema::create('preferences', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('preference');
19 19
             $table->string('description');
Please login to merge, or discard this patch.
database/migrations/2020_11_11_065705_create_roles_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function up()
16 16
     {
17
-        Schema::create('roles', function (Blueprint $table) {
17
+        Schema::create('roles', function(Blueprint $table) {
18 18
             $table->id();
19 19
             $table->string('name');
20 20
             $table->text('description')->nullable();
Please login to merge, or discard this patch.
database/migrations/2021_01_04_050820_create_activity_log_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::connection(config('activitylog.database_connection'))->create(config('activitylog.table_name'), function (Blueprint $table) {
14
+        Schema::connection(config('activitylog.database_connection'))->create(config('activitylog.table_name'), function(Blueprint $table) {
15 15
             $table->bigIncrements('id');
16 16
             $table->string('log_name')->nullable();
17 17
             $table->text('description');
Please login to merge, or discard this patch.
database/migrations/2020_11_19_072559_create_permissions_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function up()
18 18
     {
19
-        Schema::create('permissions', function (Blueprint $table) {
19
+        Schema::create('permissions', function(Blueprint $table) {
20 20
             $table->id();
21 21
             $table->boolean('browse')->default(1);
22 22
             $table->boolean('read')->default(1);
Please login to merge, or discard this patch.
database/migrations/2021_05_26_123406_create_settings_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('settings', function (Blueprint $table) {
16
+        Schema::create('settings', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->string('setting_name');
19 19
             $table->string('string_value')->nullable();
Please login to merge, or discard this patch.
database/migrations/2020_11_12_073142_create_profiles_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('profiles', function (Blueprint $table) {
16
+        Schema::create('profiles', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->unsignedBigInteger('user_id');
19 19
             $table->string('username')->nullable();
Please login to merge, or discard this patch.
database/migrations/2021_05_28_051525_create_preference_user_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('preference_user', function (Blueprint $table) {
16
+        Schema::create('preference_user', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->unsignedBigInteger('preference_id');
19 19
             $table->unsignedBigInteger('user_id');
Please login to merge, or discard this patch.
src/Mixins/AdmineticAuthMixins.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@  discard block
 block discarded – undo
13 13
          * @return callable
14 14
          */
15 15
 
16
-        return function ($options = []) {
16
+        return function($options = []) {
17 17
             $namespace = "Pratiksh\Adminetic\Http\Controllers";
18 18
 
19
-            $this->group(['namespace' => $namespace], function () use ($options) {
19
+            $this->group(['namespace' => $namespace], function() use ($options) {
20 20
                 // Login Routes...
21 21
                 if ($options['login'] ?? true) {
22 22
                     $this->get('login', 'Auth\LoginController@showLoginForm')->name('login');
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     public function resetPassword()
84 84
     {
85
-        return function () {
85
+        return function() {
86 86
             $this->get('password/reset', 'Auth\ForgotPasswordController@showLinkRequestForm')->name('password.request');
87 87
             $this->post('password/email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('password.email');
88 88
             $this->get('password/reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.reset');
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function confirmPassword()
99 99
     {
100
-        return function () {
100
+        return function() {
101 101
             $this->get('password/confirm', 'Auth\ConfirmPasswordController@showConfirmForm')->name('password.confirm');
102 102
             $this->post('password/confirm', 'Auth\ConfirmPasswordController@confirm');
103 103
         };
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function emailVerification()
112 112
     {
113
-        return function () {
113
+        return function() {
114 114
             $this->get('email/verify', 'Auth\VerificationController@show')->name('verification.notice');
115 115
             $this->get('email/verify/{id}/{hash}', 'Auth\VerificationController@verify')->name('verification.verify');
116 116
             $this->post('email/resend', 'Auth\VerificationController@resend')->name('verification.resend');
Please login to merge, or discard this patch.