Skip to content

Commit

Permalink
MAGETWO-80306: Blank line found at start of control structure #11117
Browse files Browse the repository at this point in the history
 - Merge Pull Request #11117 from mayankzalavadia/magento2:develop
 - Merged commits:
   1. 3fa78fd
  • Loading branch information
orlangur committed Sep 28, 2017
2 parents e9b27bc + 3fa78fd commit 1961f88
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ public function testPlaceRequestSuccess()
$this->adapter->expects($this->once())
->method('sale')
->with($this->getTransferData())
->willReturn($response)
;
->willReturn($response);

$this->loggerMock->expects($this->once())
->method('debug')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ define([
}

if (event.type !== 'fieldStateChange') {

return false;
}

Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/Braintree/view/base/web/js/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ define([
*/
getCountrySpecificCardTypes: function (countryId) {
if (typeof this.config.countrySpecificCardTypes[countryId] !== 'undefined') {

return this.config.countrySpecificCardTypes[countryId];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ define(
billingCountryId = billingAddress.countryId;

if (billingCountryId && validator.getCountrySpecificCardTypes(billingCountryId)) {

return validator.collectTypes(
availableTypes, validator.getCountrySpecificCardTypes(billingCountryId)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ define([
}

if (event.type !== 'fieldStateChange') {

return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ define([
var address = quote.shippingAddress();

if (_.isNull(address.postcode) || _.isUndefined(address.postcode)) {

return {};
}

Expand Down

0 comments on commit 1961f88

Please sign in to comment.