@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function run() |
| 16 | 16 | { |
| 17 | - if (! config('adminetic.migrate_with_dummy', false)) { |
|
| 17 | + if (!config('adminetic.migrate_with_dummy', false)) { |
|
| 18 | 18 | Artisan::call('make:permission Role 2 --onlyFlags'); |
| 19 | 19 | Artisan::call('make:permission Permission 2 --onlyFlags'); |
| 20 | 20 | Artisan::call('make:permission User 2 --onlyFlags'); |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function run() |
| 16 | 16 | { |
| 17 | - if (! config('adminetic.migrate_with_dummy', false)) { |
|
| 17 | + if (!config('adminetic.migrate_with_dummy', false)) { |
|
| 18 | 18 | $roles = [ |
| 19 | 19 | [ |
| 20 | 20 | 'name' => 'superadmin', |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public function run() |
| 18 | 18 | { |
| 19 | - if (! config('adminetic.migrate_with_dummy', false)) { |
|
| 19 | + if (!config('adminetic.migrate_with_dummy', false)) { |
|
| 20 | 20 | $admin = User::create([ |
| 21 | 21 | 'name' => 'Admin User', |
| 22 | 22 | 'email' => '[email protected]', |
@@ -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(); |