@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\Customer; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\Administrator; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\ShippingMethod; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\Order; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\Order; |
| 15 | 15 | |
@@ -491,7 +491,7 @@ discard block |
||
| 491 | 491 | (stripos($elementText, $customerName) !== false) && |
| 492 | 492 | (stripos($elementText, $street) !== false) && |
| 493 | 493 | (stripos($elementText, $city) !== false) && |
| 494 | - (stripos($elementText, $countryName.' '.$postcode) !== false) |
|
| 494 | + (stripos($elementText, $countryName . ' ' . $postcode) !== false) |
|
| 495 | 495 | ; |
| 496 | 496 | } |
| 497 | 497 | |
@@ -508,7 +508,7 @@ discard block |
||
| 508 | 508 | ['item' => $itemName] |
| 509 | 509 | ); |
| 510 | 510 | |
| 511 | - return $rows[0]->find('css', '.'.$property)->getText(); |
|
| 511 | + return $rows[0]->find('css', '.' . $property)->getText(); |
|
| 512 | 512 | } |
| 513 | 513 | |
| 514 | 514 | /** |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\Order; |
| 15 | 15 | |
@@ -47,11 +47,11 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | private function specifyAddress(AddressInterface $address, $addressType) |
| 49 | 49 | { |
| 50 | - $this->specifyElementValue($addressType.'_first_name', $address->getFirstName()); |
|
| 51 | - $this->specifyElementValue($addressType.'_last_name', $address->getLastName()); |
|
| 52 | - $this->specifyElementValue($addressType.'_street', $address->getStreet()); |
|
| 53 | - $this->specifyElementValue($addressType.'_city', $address->getCity()); |
|
| 54 | - $this->specifyElementValue($addressType.'_postcode', $address->getPostcode()); |
|
| 50 | + $this->specifyElementValue($addressType . '_first_name', $address->getFirstName()); |
|
| 51 | + $this->specifyElementValue($addressType . '_last_name', $address->getLastName()); |
|
| 52 | + $this->specifyElementValue($addressType . '_street', $address->getStreet()); |
|
| 53 | + $this->specifyElementValue($addressType . '_city', $address->getCity()); |
|
| 54 | + $this->specifyElementValue($addressType . '_postcode', $address->getPostcode()); |
|
| 55 | 55 | |
| 56 | 56 | $this->chooseCountry($address->getCountryCode(), $addressType); |
| 57 | 57 | } |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | */ |
| 117 | 117 | private function chooseCountry($country, $addressType) |
| 118 | 118 | { |
| 119 | - $this->getElement($addressType.'_country')->selectOption((null !== $country) ? $country : 'Select'); |
|
| 119 | + $this->getElement($addressType . '_country')->selectOption((null !== $country) ? $country : 'Select'); |
|
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | /** |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\Account; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\TaxCategory; |
| 15 | 15 | |