@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | * @Transform /^address is "([^"]+)", "([^"]+)", "([^"]+)", "([^"]+)" for "([^"]+)"$/ |
| 70 | 70 | * @Transform /^address to "([^"]+)", "([^"]+)", "([^"]+)", "([^"]+)" for "([^"]+)"$/ |
| 71 | 71 | */ |
| 72 | - public function createNewAddressWith($cityName, $street, $postcode, $countryName, $customerName, $provinceName = null) |
|
| 72 | + public function createNewAddressWith($cityName, $street, $postcode, $countryName, $customerName, $provinceName = null) |
|
| 73 | 73 | { |
| 74 | 74 | $countryCode = $this->countryNameConverter->convertToCode($countryName); |
| 75 | 75 | $customerName = explode(' ', $customerName); |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | public function getByStreet($street) |
| 108 | 108 | { |
| 109 | 109 | $address = $this->addressRepository->findOneBy(['street' => $street]); |
| 110 | - Assert::notNull($address, sprintf('Cannot find address by %s street' , $street)); |
|
| 110 | + Assert::notNull($address, sprintf('Cannot find address by %s street', $street)); |
|
| 111 | 111 | |
| 112 | 112 | return $address; |
| 113 | 113 | } |
@@ -271,6 +271,6 @@ |
||
| 271 | 271 | */ |
| 272 | 272 | private function generateCodeFromNameAndZone($shippingMethodName, $zoneCode = null) |
| 273 | 273 | { |
| 274 | - return StringInflector::nameToLowercaseCode($shippingMethodName).'_'.StringInflector::nameToLowercaseCode($zoneCode); |
|
| 274 | + return StringInflector::nameToLowercaseCode($shippingMethodName) . '_' . StringInflector::nameToLowercaseCode($zoneCode); |
|
| 275 | 275 | } |
| 276 | 276 | } |
@@ -347,7 +347,7 @@ |
||
| 347 | 347 | Pagerfanta $results, |
| 348 | 348 | $template, |
| 349 | 349 | $page |
| 350 | - ){ |
|
| 350 | + ) { |
|
| 351 | 351 | $results->setCurrentPage($page, true, true); |
| 352 | 352 | $results->setMaxPerPage($this->config->getPaginationMaxPerPage()); |
| 353 | 353 | |