Skip to content

Commit c120002

Browse files
author
Stanislav Idolov
committed
Minor code style fixes
1 parent 0df7c4f commit c120002

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

app/code/Magento/Braintree/Test/Unit/Model/InstantPurchase/CreditCard/TokenFormatterTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
use PHPUnit\Framework\TestCase;
1313
use PHPUnit_Framework_MockObject_MockObject;
1414

15-
/**
16-
* @covers CreditCardTokenFormatter
17-
*/
1815
class TokenFormatterTest extends TestCase
1916
{
2017
/**

app/code/Magento/Checkout/view/frontend/web/js/view/summary/shipping.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ define([
2121
* @return {*}
2222
*/
2323
getShippingMethodTitle: function () {
24-
var shippingMethod;
25-
var shippingMethodTitle = '';
24+
var shippingMethod,
25+
shippingMethodTitle = '';
2626

2727
if (!this.isCalculated()) {
2828
return '';
2929
}
3030
shippingMethod = quote.shippingMethod();
3131

32-
if (typeof(shippingMethod['method_title']) !== 'undefined') {
32+
if (typeof shippingMethod['method_title'] !== 'undefined') {
3333
shippingMethodTitle = ' - ' + shippingMethod['method_title'];
3434
}
3535

0 commit comments

Comments
 (0)