Completed
Push — master ( 32b4c2...be6d62 )
by Matthew
22:47 queued 07:45
created
src/ORM/FoxyStripeOptionInventoryManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function getNumberAvailable()
59 59
     {
60 60
         if ($this->getIsOptionAvailable()) {
61
-            return (int)$this->owner->PurchaseLimit - (int)$this->getNumberPurchased();
61
+            return (int) $this->owner->PurchaseLimit - (int) $this->getNumberPurchased();
62 62
         }
63 63
     }
64 64
 
Please login to merge, or discard this patch.
src/ORM/FoxyStripeInventoryManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     public function getNumberAvailable()
62 62
     {
63 63
         if ($this->getIsProductAvailable()) {
64
-            return (int)$this->owner->PurchaseLimit - (int)$this->getNumberPurchased();
64
+            return (int) $this->owner->PurchaseLimit - (int) $this->getNumberPurchased();
65 65
         }
66 66
 
67 67
     }
Please login to merge, or discard this patch.
src/Model/ProductCartReservation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      */
73 73
     public function getCMSFields()
74 74
     {
75
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
75
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
76 76
             $fields->addFieldToTab('Root.Main', ReadonlyField::create('ReservationCode')->setTitle('Reservation Code'));
77 77
         });
78 78
 
Please login to merge, or discard this patch.