@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use Faker\Generator as Faker; |
4 | 4 | |
5 | -$factory->define(Modules\Machine\Entities\Machine::class, function (Faker $faker) { |
|
5 | +$factory->define(Modules\Machine\Entities\Machine::class, function(Faker $faker) { |
|
6 | 6 | $os = [ |
7 | 7 | 'MAC', |
8 | 8 | 'WINDOWS', |
@@ -99,6 +99,6 @@ |
||
99 | 99 | |
100 | 100 | $this->authorize('delete', $machine); |
101 | 101 | |
102 | - return \response()->json(['deleted']); |
|
102 | + return \response()->json([ 'deleted' ]); |
|
103 | 103 | } |
104 | 104 | } |
@@ -31,7 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * @var array |
33 | 33 | */ |
34 | - protected $guarded = []; |
|
34 | + protected $guarded = [ ]; |
|
35 | 35 | |
36 | 36 | public function user() |
37 | 37 | { |