@@ -414,7 +414,7 @@ |
||
| 414 | 414 | { |
| 415 | 415 | return trim(array_reduce( |
| 416 | 416 | $variant->getOptionValues()->toArray(), |
| 417 | - static function(?string $variantName, ProductOptionValueInterface $variantOption) { |
|
| 417 | + static function (?string $variantName, ProductOptionValueInterface $variantOption) { |
|
| 418 | 418 | return $variantName . sprintf('%s ', $variantOption->getValue()); |
| 419 | 419 | }, |
| 420 | 420 | '' |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | function it_generates_random_hashed_path_for_the_image(ImageInterface $image): void |
| 29 | 29 | { |
| 30 | - $file = new UploadedFile(__DIR__.'/ford.jpg', 'ford.jpg', null, null, true); |
|
| 30 | + $file = new UploadedFile(__DIR__ . '/ford.jpg', 'ford.jpg', null, null, true); |
|
| 31 | 31 | |
| 32 | 32 | $image->getFile()->willReturn($file); |
| 33 | 33 | |
@@ -153,7 +153,7 @@ |
||
| 153 | 153 | /** |
| 154 | 154 | * @Then /^I should see payment for (the "[^"]+" order) as (\d+)(?:|st|nd|rd|th) in the list$/ |
| 155 | 155 | */ |
| 156 | - public function iShouldSeePaymentForTheOrderInTheList(string $orderNumber,int $position): void |
|
| 156 | + public function iShouldSeePaymentForTheOrderInTheList(string $orderNumber, int $position): void |
|
| 157 | 157 | { |
| 158 | 158 | Assert::true($this->indexPage->isPaymentWithOrderNumberInPosition($orderNumber, $position)); |
| 159 | 159 | } |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | function it_generates_random_hashed_path_keeping_the_image_name(ImageInterface $image): void |
| 29 | 29 | { |
| 30 | - $file = new UploadedFile(__DIR__.'/ford.jpg', 'ford.jpg', null, null, true); |
|
| 30 | + $file = new UploadedFile(__DIR__ . '/ford.jpg', 'ford.jpg', null, null, true); |
|
| 31 | 31 | |
| 32 | 32 | $image->getFile()->willReturn($file); |
| 33 | 33 | |