@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $dateTime = new DateTime(); |
| 33 | 33 | |
| 34 | 34 | $comparatorMock = $this->createComparatorMock(); |
| 35 | - $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $currentMonth) { |
|
| 35 | + $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $currentMonth) { |
|
| 36 | 36 | return $clauseTransfer->getValue() === $currentMonth; |
| 37 | 37 | }); |
| 38 | 38 | |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $dateTime = new DateTime(); |
| 33 | 33 | |
| 34 | 34 | $comparatorMock = $this->createComparatorMock(); |
| 35 | - $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $currentMonth) { |
|
| 35 | + $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $currentMonth) { |
|
| 36 | 36 | return $clauseTransfer->getValue() === $currentMonth; |
| 37 | 37 | }); |
| 38 | 38 | |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | $dateTime = new DateTime(); |
| 34 | 34 | |
| 35 | 35 | $comparatorMock = $this->createComparatorMock(); |
| 36 | - $comparatorMock->method('compare')->willReturnCallback(function (ClauseTransfer $clauseTransfer, $calendarWeek) { |
|
| 36 | + $comparatorMock->method('compare')->willReturnCallback(function(ClauseTransfer $clauseTransfer, $calendarWeek) { |
|
| 37 | 37 | return $clauseTransfer->getValue() === $calendarWeek; |
| 38 | 38 | }); |
| 39 | 39 | |
@@ -110,7 +110,6 @@ |
||
| 110 | 110 | /** |
| 111 | 111 | * Specification: |
| 112 | 112 | * - Calculates the stability of each module. |
| 113 | - |
|
| 114 | 113 | * @api |
| 115 | 114 | * |
| 116 | 115 | * @return array |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | return $this->redirectResponse('/development/dependency'); |
| 138 | 138 | } |
| 139 | 139 | |
| 140 | - $callback = function () use ($request) { |
|
| 140 | + $callback = function() use ($request) { |
|
| 141 | 141 | $module = $request->query->getAlpha(static::QUERY_KEY_MODULE, '*'); |
| 142 | 142 | |
| 143 | 143 | if ($request->query->getBoolean(static::QUERY_KEY_BUILD_TREE, !$this->hasDependencyTreeCache())) { |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | */ |
| 158 | 158 | public function simpleAction(Request $request) |
| 159 | 159 | { |
| 160 | - $callback = function () use ($request) { |
|
| 160 | + $callback = function() use ($request) { |
|
| 161 | 161 | $module = $request->query->getAlpha(static::QUERY_KEY_MODULE, '*'); |
| 162 | 162 | $showEngineBundle = $request->query->getBoolean('show-engine-bundle', true); |
| 163 | 163 | |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | */ |
| 196 | 196 | public function externalDependencyTreeAction(Request $request) |
| 197 | 197 | { |
| 198 | - $callback = function () use ($request) { |
|
| 198 | + $callback = function() use ($request) { |
|
| 199 | 199 | $module = $request->query->getAlpha(static::QUERY_KEY_MODULE, '*'); |
| 200 | 200 | |
| 201 | 201 | if ($request->query->getBoolean(static::QUERY_KEY_BUILD_TREE, !$this->hasDependencyTreeCache())) { |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | */ |
| 50 | 50 | public function saveOrderBundleItems(QuoteTransfer $quoteTransfer, SaveOrderTransfer $saveOrderTransfer) |
| 51 | 51 | { |
| 52 | - $this->handleDatabaseTransaction(function () use ($quoteTransfer, $saveOrderTransfer) { |
|
| 52 | + $this->handleDatabaseTransaction(function() use ($quoteTransfer, $saveOrderTransfer) { |
|
| 53 | 53 | $this->saveOrderBundleItemsTransaction($quoteTransfer, $saveOrderTransfer); |
| 54 | 54 | }); |
| 55 | 55 | } |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | { |
| 46 | 46 | $this->assertShipmentRequirements($quoteTransfer); |
| 47 | 47 | |
| 48 | - $this->handleDatabaseTransaction(function () use ($quoteTransfer, $saveOrderTransfer) { |
|
| 48 | + $this->handleDatabaseTransaction(function() use ($quoteTransfer, $saveOrderTransfer) { |
|
| 49 | 49 | $this->saveOrderShipmentTransaction($quoteTransfer, $saveOrderTransfer); |
| 50 | 50 | }); |
| 51 | 51 | } |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | */ |
| 128 | 128 | protected function doSaveOrder(QuoteTransfer $quoteTransfer, CheckoutResponseTransfer $checkoutResponse) |
| 129 | 129 | { |
| 130 | - $this->handleDatabaseTransaction(function () use ($quoteTransfer, $checkoutResponse) { |
|
| 130 | + $this->handleDatabaseTransaction(function() use ($quoteTransfer, $checkoutResponse) { |
|
| 131 | 131 | $this->doSaveOrderTransaction($quoteTransfer, $checkoutResponse); |
| 132 | 132 | }); |
| 133 | 133 | |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | public function saveOrderProductOptions(QuoteTransfer $quoteTransfer, SaveOrderTransfer $saveOrderTransfer) |
| 42 | 42 | { |
| 43 | - $this->handleDatabaseTransaction(function () use ($saveOrderTransfer) { |
|
| 43 | + $this->handleDatabaseTransaction(function() use ($saveOrderTransfer) { |
|
| 44 | 44 | $this->saveOrderProductOptionsTransaction($saveOrderTransfer); |
| 45 | 45 | }); |
| 46 | 46 | } |