@@ -38,7 +38,7 @@ |
||
| 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 | ]; |
@@ -13,7 +13,7 @@ |
||
| 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'); |
@@ -14,7 +14,7 @@ |
||
| 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(); |
@@ -11,7 +11,7 @@ |
||
| 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'); |
@@ -16,7 +16,7 @@ |
||
| 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); |
@@ -13,7 +13,7 @@ |
||
| 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(); |
@@ -13,7 +13,7 @@ |
||
| 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(); |
@@ -13,7 +13,7 @@ |
||
| 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'); |
@@ -13,10 +13,10 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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'); |