@@ -123,7 +123,7 @@ discard block |
||
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 |
||
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 |