File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Sales/Model Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 51
51
* @method bool hasCustomerNoteNotify()
52
52
* @method bool hasForcedCanCreditmemo()
53
53
* @method bool getIsInProcess()
54
- * @method \Magento\Customer\Model\Customer getCustomer()
54
+ * @method \Magento\Customer\Model\Customer|null getCustomer()
55
55
* @method \Magento\Sales\Model\Order setSendEmail(bool $value)
56
56
* @SuppressWarnings(PHPMD.ExcessivePublicCount)
57
57
* @SuppressWarnings(PHPMD.TooManyFields)
@@ -1326,7 +1326,7 @@ public function getTrackingNumbers()
1326
1326
*/
1327
1327
public function getShippingMethod ($ asObject = false )
1328
1328
{
1329
- $ shippingMethod = parent :: getShippingMethod ( );
1329
+ $ shippingMethod = $ this -> getData ( ' shipping_method ' );
1330
1330
if (!$ asObject || !$ shippingMethod ) {
1331
1331
return $ shippingMethod ;
1332
1332
} else {
You can’t perform that action at this time.
0 commit comments