Passed
Push — master ( 4b0d05...471523 )
by Arthur
103:49 queued 98:11
created
src/Modules/Account/Transformers/AccountTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         'machine',
23 23
     ];
24 24
 
25
-    public $include = [];
25
+    public $include = [ ];
26 26
 
27 27
     /**
28 28
      * Transform the resource into an array.
Please login to merge, or discard this patch.
src/Modules/Account/Events/AccountUpdatedEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
 class AccountUpdatedEvent extends Event implements ShouldBroadcast
18 18
 {
19
-    public $listeners = [];
19
+    public $listeners = [ ];
20 20
 
21 21
     /**
22 22
      * @var account
Please login to merge, or discard this patch.
src/Modules/Account/Entities/Account.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     /**
34 34
      * @var array
35 35
      */
36
-    protected $guarded = [];
36
+    protected $guarded = [ ];
37 37
 
38 38
     protected $casts = [
39 39
         'online' => 'boolean',
Please login to merge, or discard this patch.
src/Modules/Account/Services/AccountService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
     public function assignToMachine($id, ?Machine $machine)
65 65
     {
66
-        return $this->update($id, ['machine_id' => $machine->id ?? null]);
66
+        return $this->update($id, [ 'machine_id' => $machine->id ?? null ]);
67 67
     }
68 68
 
69 69
     public function unlinkFromMachine($id)
Please login to merge, or discard this patch.
src/Modules/Account/Database/factories/AccountFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 use Faker\Generator as Faker;
4 4
 use Modules\Account\Entities\Account;
5 5
 
6
-$factory->define(Account::class, function (Faker $faker) {
6
+$factory->define(Account::class, function(Faker $faker) {
7 7
     return [
8 8
          'user_id'           => 1,
9 9
          'username'          => $faker->unique()->safeEmail,
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      ];
22 22
 });
23 23
 
24
- $factory->state(Account::class, 'OSRS', function (Faker $faker) {
24
+ $factory->state(Account::class, 'OSRS', function(Faker $faker) {
25 25
      return [
26 26
          'game'                  => 'OSRS',
27 27
          'bank_pin'              => $faker->randomNumber(4, true),
@@ -72,19 +72,19 @@  discard block
 block discarded – undo
72 72
                      'amount'  => 1,
73 73
                  ],
74 74
              ],
75
-             'equipment'      => [],
75
+             'equipment'      => [ ],
76 76
              'grand_exchange' => [
77 77
                  [
78 78
                      'item_id' => 5,
79 79
                      'amount'  => 2,
80 80
                  ],
81 81
              ],
82
-             'inventory' => [],
82
+             'inventory' => [ ],
83 83
          ],
84 84
      ];
85 85
  });
86 86
 
87
- $factory->state(Account::class, 'RS3', function (Faker $faker) {
87
+ $factory->state(Account::class, 'RS3', function(Faker $faker) {
88 88
      return [
89 89
          'game'                  => 'RS3',
90 90
          'bank_pin'              => $faker->randomNumber(4, true),
Please login to merge, or discard this patch.