@@ -16,12 +16,12 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * @var array Guarded fields |
| 18 | 18 | */ |
| 19 | - protected $guarded = ['*']; |
|
| 19 | + protected $guarded = [ '*' ]; |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @var array Fillable fields |
| 23 | 23 | */ |
| 24 | - protected $fillable = []; |
|
| 24 | + protected $fillable = [ ]; |
|
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @var array Relations |
@@ -16,12 +16,12 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * @var array Guarded fields |
| 18 | 18 | */ |
| 19 | - protected $guarded = ['*']; |
|
| 19 | + protected $guarded = [ '*' ]; |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @var array Fillable fields |
| 23 | 23 | */ |
| 24 | - protected $fillable = []; |
|
| 24 | + protected $fillable = [ ]; |
|
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @var array Relations |
@@ -34,9 +34,9 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | public function prepareVars() |
| 36 | 36 | { |
| 37 | - $this->vars['name'] = $this->formField->getName(); |
|
| 38 | - $this->vars['value'] = $this->getLoadValue(); |
|
| 39 | - $this->vars['model'] = $this->model; |
|
| 37 | + $this->vars[ 'name' ] = $this->formField->getName(); |
|
| 38 | + $this->vars[ 'value' ] = $this->getLoadValue(); |
|
| 39 | + $this->vars[ 'model' ] = $this->model; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_options', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_options', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->integer('product_id')->unsigned()->index(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_inventories', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_inventories', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->integer('product_id')->unsigned()->index(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_option_values', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_option_values', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->string('name')->default(''); |