GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch master (57668c)
by Nikhil
13:19 queued 05:38
created
app/Events/PurchaseWasCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      */
34 34
     public function broadcastOn()
35 35
     {
36
-        return ['default'];
36
+        return [ 'default' ];
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
app/Listeners/GeneratePurchaseNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         if ($purchase->hasArrived() && $purchase->isPendingStorage()) {
21 21
             $purchase->makeNotification(Notification::findOrNew([
22 22
                 'icon'    => 'flight_land',
23
-                'link'    => '/purchases/' . $purchase->id,
23
+                'link'    => '/purchases/'.$purchase->id,
24 24
                 'message' => "Purchase of {$purchase->quantity} {$purchase->make->name} has arrived from {$purchase->supplier->name}, {$purchase->supplier->location}.",
25 25
             ]));
26 26
         }
Please login to merge, or discard this patch.
app/Http/Controllers/MakeController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             'name' => 'required|string|max:255'
39 39
         ]);
40 40
 
41
-        $make = Make::create($request->only(['name']));
41
+        $make = Make::create($request->only([ 'name' ]));
42 42
         event(new MakeWasCreated($make));
43 43
     }
44 44
 
Please login to merge, or discard this patch.
app/Http/Controllers/ModelController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@
 block discarded – undo
41 41
             'photo'   => 'required|image',
42 42
         ]);
43 43
         $photo    = $request->file('photo');
44
-        $fileName = sha1(time() . $photo->getClientOriginalName()) . '.' . $photo->getClientOriginalExtension();
44
+        $fileName = sha1(time().$photo->getClientOriginalName()).'.'.$photo->getClientOriginalExtension();
45 45
         $photo->move(config('shop.images.path'), $fileName);
46 46
         $model = Model::create($request->only([
47 47
                 'name',
48 48
                 'make_id'
49
-            ]) + ['photo' => config('shop.images.dir') . $fileName]);
49
+            ]) + [ 'photo' => config('shop.images.dir').$fileName ]);
50 50
         event(new ModelWasCreated($model));
51 51
     }
52 52
 
Please login to merge, or discard this patch.
app/Http/Controllers/SupplierController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             'location' => 'required|string|max:255',
40 40
         ]);
41 41
 
42
-        $supplier = Supplier::create($request->only(['name', 'location']));
42
+        $supplier = Supplier::create($request->only([ 'name', 'location' ]));
43 43
         event(new SupplierWasCreated($supplier));
44 44
     }
45 45
 
Please login to merge, or discard this patch.
app/Events/SupplierWasDeleted.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      */
34 34
     public function broadcastOn()
35 35
     {
36
-        return ['default'];
36
+        return [ 'default' ];
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
app/Events/GuitarWasCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      */
34 34
     public function broadcastOn()
35 35
     {
36
-        return ['default'];
36
+        return [ 'default' ];
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
app/Events/SupplierWasCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      */
34 34
     public function broadcastOn()
35 35
     {
36
-        return ['default'];
36
+        return [ 'default' ];
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
app/Events/WarehouseWasCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,6 @@
 block discarded – undo
33 33
      */
34 34
     public function broadcastOn()
35 35
     {
36
-        return ['default'];
36
+        return [ 'default' ];
37 37
     }
38 38
 }
Please login to merge, or discard this patch.