@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function boot(Application $app) |
| 39 | 39 | { |
| 40 | - $app->before(function (Request $request) { |
|
| 40 | + $app->before(function(Request $request) { |
|
| 41 | 41 | $this->assertMatchingHostName($request); |
| 42 | 42 | }, Application::EARLY_EVENT); |
| 43 | 43 | } |
@@ -161,7 +161,7 @@ |
||
| 161 | 161 | $this->addPublishEvents(CategoryEvents::CATEGORY_TREE_PUBLISH, $categoryNodeEntity->getIdCategoryNode()); |
| 162 | 162 | } |
| 163 | 163 | |
| 164 | - $convertCallback = function ($value) { |
|
| 164 | + $convertCallback = function($value) { |
|
| 165 | 165 | return mb_strtolower(str_replace(' ', '-', $value)); |
| 166 | 166 | }; |
| 167 | 167 | $urlPathParts = array_map($convertCallback, $urlPathParts); |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function install(): void |
| 44 | 44 | { |
| 45 | - $this->getTransactionHandler()->handleTransaction(function () { |
|
| 45 | + $this->getTransactionHandler()->handleTransaction(function() { |
|
| 46 | 46 | $this->executeInstallTransaction(); |
| 47 | 47 | }); |
| 48 | 48 | } |
@@ -560,7 +560,7 @@ |
||
| 560 | 560 | |
| 561 | 561 | $useStatements = array_keys($useStatements); |
| 562 | 562 | sort($useStatements); |
| 563 | - $useStatements = array_reduce($useStatements, function ($prevUseStatement, $useStatement) { |
|
| 563 | + $useStatements = array_reduce($useStatements, function($prevUseStatement, $useStatement) { |
|
| 564 | 564 | return $prevUseStatement . PHP_EOL . 'use ' . $useStatement . ';'; |
| 565 | 565 | }, ''); |
| 566 | 566 | |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function install(): void |
| 44 | 44 | { |
| 45 | - $this->getTransactionHandler()->handleTransaction(function () { |
|
| 45 | + $this->getTransactionHandler()->handleTransaction(function() { |
|
| 46 | 46 | $this->executeInstallTransaction(); |
| 47 | 47 | }); |
| 48 | 48 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | public function getBarcodePluginMock(): BarcodeGeneratorPluginInterface |
| 18 | 18 | { |
| 19 | 19 | return Stub::makeEmpty(BarcodeGeneratorPluginInterface::class, [ |
| 20 | - 'generate' => function (string $text): BarcodeResponseTransfer { |
|
| 20 | + 'generate' => function(string $text): BarcodeResponseTransfer { |
|
| 21 | 21 | return (new BarcodeResponseTransfer()) |
| 22 | 22 | ->setCode($text) |
| 23 | 23 | ->setEncoding(static::GENERATED_ENCODING); |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $quoteResponseTransfer = new QuoteResponseTransfer(); |
| 61 | 61 | $quoteResponseTransfer->setIsSuccessful(false); |
| 62 | 62 | if ($this->validateQuote($quoteTransfer)) { |
| 63 | - return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) { |
|
| 63 | + return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) { |
|
| 64 | 64 | return $this->executeDeleteTransaction($quoteTransfer); |
| 65 | 65 | }); |
| 66 | 66 | } |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | */ |
| 50 | 50 | public function updateQuoteCompanyUsers(QuoteTransfer $quoteTransfer): QuoteTransfer |
| 51 | 51 | { |
| 52 | - return $this->getTransactionHandler()->handleTransaction(function () use ($quoteTransfer) { |
|
| 52 | + return $this->getTransactionHandler()->handleTransaction(function() use ($quoteTransfer) { |
|
| 53 | 53 | return $this->executeUpdateQuoteCompanyUsersTransaction($quoteTransfer); |
| 54 | 54 | }); |
| 55 | 55 | } |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | } |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | - array_walk_recursive($priceProductConcreteStorageMap, function (SpyPriceProductConcreteStorage $priceProductConcreteStorageEntity) { |
|
| 124 | + array_walk_recursive($priceProductConcreteStorageMap, function(SpyPriceProductConcreteStorage $priceProductConcreteStorageEntity) { |
|
| 125 | 125 | $priceProductConcreteStorageEntity->delete(); |
| 126 | 126 | }); |
| 127 | 127 | } |