@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('action_events', function (Blueprint $table) { |
|
| 16 | + Schema::table('action_events', function(Blueprint $table) { |
|
| 17 | 17 | $table->text('original')->nullable(); |
| 18 | 18 | $table->text('changes')->nullable(); |
| 19 | 19 | }); |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | */ |
| 27 | 27 | public function down() |
| 28 | 28 | { |
| 29 | - Schema::table('action_events', function (Blueprint $table) { |
|
| 29 | + Schema::table('action_events', function(Blueprint $table) { |
|
| 30 | 30 | $table->dropColumn('original', 'changes'); |
| 31 | 31 | }); |
| 32 | 32 | } |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | { |
| 8 | 8 | public function up() |
| 9 | 9 | { |
| 10 | - Schema::create('taggables', function (Blueprint $table) { |
|
| 10 | + Schema::create('taggables', function(Blueprint $table) { |
|
| 11 | 11 | $table->unsignedBigInteger('tag_id'); |
| 12 | 12 | $table->unsignedBigInteger('taggable_id'); |
| 13 | 13 | $table->string("taggable_type"); |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | { |
| 8 | 8 | public function up() |
| 9 | 9 | { |
| 10 | - Schema::create('histories', function (Blueprint $table) { |
|
| 10 | + Schema::create('histories', function(Blueprint $table) { |
|
| 11 | 11 | $table->bigIncrements('id'); |
| 12 | 12 | $table->unsignedBigInteger("user_id"); |
| 13 | 13 | $table->timestamps(); |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | { |
| 8 | 8 | public function up() |
| 9 | 9 | { |
| 10 | - Schema::create('tags', function (Blueprint $table) { |
|
| 10 | + Schema::create('tags', function(Blueprint $table) { |
|
| 11 | 11 | $table->bigIncrements('id'); |
| 12 | 12 | $table->timestamps(); |
| 13 | 13 | |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | { |
| 8 | 8 | public function up() |
| 9 | 9 | { |
| 10 | - Schema::create('images', function (Blueprint $table) { |
|
| 10 | + Schema::create('images', function(Blueprint $table) { |
|
| 11 | 11 | $table->increments('id'); |
| 12 | 12 | $table->timestamps(); |
| 13 | 13 | |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | { |
| 8 | 8 | public function up() |
| 9 | 9 | { |
| 10 | - Schema::create('suppliers', function (Blueprint $table) { |
|
| 10 | + Schema::create('suppliers', function(Blueprint $table) { |
|
| 11 | 11 | $table->bigIncrements('id'); |
| 12 | 12 | $table->timestamps(); |
| 13 | 13 | |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | StoreResource::class, |
| 30 | 30 | ]); |
| 31 | 31 | |
| 32 | - Nova::auth(function () { |
|
| 32 | + Nova::auth(function() { |
|
| 33 | 33 | return true; |
| 34 | 34 | }); |
| 35 | 35 | |
@@ -15,8 +15,8 @@ discard block |
||
| 15 | 15 | { |
| 16 | 16 | parent::boot(); |
| 17 | 17 | |
| 18 | - Nova::serving(function () { |
|
| 19 | - Nova::style('laravel-nova-custom-styles', __DIR__ . '/../../public/css/nova.css'); |
|
| 18 | + Nova::serving(function() { |
|
| 19 | + Nova::style('laravel-nova-custom-styles', __DIR__.'/../../public/css/nova.css'); |
|
| 20 | 20 | }); |
| 21 | 21 | } |
| 22 | 22 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | protected function gate() |
| 43 | 43 | { |
| 44 | - Gate::define('viewNova', function () { |
|
| 44 | + Gate::define('viewNova', function() { |
|
| 45 | 45 | return true; |
| 46 | 46 | }); |
| 47 | 47 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | { |
| 29 | 29 | parent::boot(); |
| 30 | 30 | |
| 31 | - static::addGlobalScope('inlineScope', function (CachedBuilder $builder) { |
|
| 31 | + static::addGlobalScope('inlineScope', function(CachedBuilder $builder) { |
|
| 32 | 32 | return $builder->where('name', 'LIKE', "A%"); |
| 33 | 33 | }); |
| 34 | 34 | } |