@@ -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 |
@@ -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\Promotion; |
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\Taxon; |
15 | 15 | |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | |
122 | 122 | $imageForm = $this->getLastImageElement(); |
123 | 123 | $imageForm->fillField('Type', $type); |
124 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
124 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |
@@ -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\Taxon; |
15 | 15 | |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | $imageForm->fillField('Type', $type); |
85 | 85 | } |
86 | 86 | |
87 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
87 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
88 | 88 | } |
89 | 89 | |
90 | 90 | /** |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | $filesPath = $this->getParameter('files_path'); |
162 | 162 | |
163 | 163 | $imageForm = $this->getImageElementByType($type); |
164 | - $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath.$path); |
|
164 | + $imageForm->find('css', 'input[type="file"]')->attachFile($filesPath . $path); |
|
165 | 165 | } |
166 | 166 | |
167 | 167 | /** |
@@ -319,7 +319,7 @@ discard block |
||
319 | 319 | private function getImageElementByType($type) |
320 | 320 | { |
321 | 321 | $images = $this->getElement('images'); |
322 | - $typeInput = $images->find('css', 'input[value="'.$type.'"]'); |
|
322 | + $typeInput = $images->find('css', 'input[value="' . $type . '"]'); |
|
323 | 323 | |
324 | 324 | if (null === $typeInput) { |
325 | 325 | return null; |
@@ -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\Taxon; |
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\Country; |
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\Country; |
15 | 15 | |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | { |
44 | 44 | $provinces = $this->getElement('provinces'); |
45 | 45 | |
46 | - return $provinces->has('css', '[value = "'.$provinceName.'"]'); |
|
46 | + return $provinces->has('css', '[value = "' . $provinceName . '"]'); |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | { |
54 | 54 | $provinces = $this->getElement('provinces'); |
55 | 55 | |
56 | - return $provinces->has('css', '[value = "'.$provinceCode.'"]'); |
|
56 | + return $provinces->has('css', '[value = "' . $provinceCode . '"]'); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | if ($this->isThereProvince($provinceName)) { |
121 | 121 | $provinces = $this->getElement('provinces'); |
122 | 122 | |
123 | - $item = $provinces->find('css', 'div[data-form-collection="item"] input[value="'.$provinceName.'"]')->getParent(); |
|
123 | + $item = $provinces->find('css', 'div[data-form-collection="item"] input[value="' . $provinceName . '"]')->getParent(); |
|
124 | 124 | $item->fillField('Name', ''); |
125 | 125 | } |
126 | 126 | } |
@@ -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\ProductOption; |
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\Zone; |
15 | 15 |