Completed
Branch master (437b00)
by Cesar
02:56
created
Category
src/ObjectModule/WoocommerceObjectModule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
      */
124 124
     public function setWoShippingAddress($order)  //WC_Order Object
125 125
     {
126
-        if(method_exists($order,'get_address')) {
126
+        if (method_exists($order, 'get_address')) {
127 127
             $this->woShippingAddress = (Object)$order->get_address('shipping');
128 128
         }
129 129
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      */
146 146
     public function setWoBillingAddress($order) //WC_Order Object
147 147
     {
148
-        if(method_exists($order,'get_address')) {
148
+        if (method_exists($order, 'get_address')) {
149 149
             $this->woBillingAddress = (Object)$order->get_address('billing');
150 150
         }
151 151
 
Please login to merge, or discard this patch.