Skip to content

Commit b829f23

Browse files
authored
MAGETWO-80306: Blank line found at start of control structure #11117
2 parents e9b27bc + 1961f88 commit b829f23

File tree

6 files changed

+1
-7
lines changed

6 files changed

+1
-7
lines changed

app/code/Magento/Braintree/Test/Unit/Gateway/Http/Client/TransactionSaleTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ public function testPlaceRequestSuccess()
9090
$this->adapter->expects($this->once())
9191
->method('sale')
9292
->with($this->getTransferData())
93-
->willReturn($response)
94-
;
93+
->willReturn($response);
9594

9695
$this->loggerMock->expects($this->once())
9796
->method('debug')

app/code/Magento/Braintree/view/adminhtml/web/js/braintree.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ define([
211211
}
212212

213213
if (event.type !== 'fieldStateChange') {
214-
215214
return false;
216215
}
217216

app/code/Magento/Braintree/view/base/web/js/validator.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ define([
8383
*/
8484
getCountrySpecificCardTypes: function (countryId) {
8585
if (typeof this.config.countrySpecificCardTypes[countryId] !== 'undefined') {
86-
8786
return this.config.countrySpecificCardTypes[countryId];
8887
}
8988

app/code/Magento/Braintree/view/frontend/web/js/view/payment/method-renderer/cc-form.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ define(
271271
billingCountryId = billingAddress.countryId;
272272

273273
if (billingCountryId && validator.getCountrySpecificCardTypes(billingCountryId)) {
274-
275274
return validator.collectTypes(
276275
availableTypes, validator.getCountrySpecificCardTypes(billingCountryId)
277276
);

app/code/Magento/Braintree/view/frontend/web/js/view/payment/method-renderer/hosted-fields.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ define([
104104
}
105105

106106
if (event.type !== 'fieldStateChange') {
107-
108107
return false;
109108
}
110109

app/code/Magento/Braintree/view/frontend/web/js/view/payment/method-renderer/paypal.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ define([
299299
var address = quote.shippingAddress();
300300

301301
if (_.isNull(address.postcode) || _.isUndefined(address.postcode)) {
302-
303302
return {};
304303
}
305304

0 commit comments

Comments
 (0)