@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | protected function addProductFacade(Container $container) |
40 | 40 | { |
41 | - $container[static::FACADE_PRODUCT] = function (Container $container) { |
|
41 | + $container[static::FACADE_PRODUCT] = function(Container $container) { |
|
42 | 42 | return new TaxProductConnectorToProductBridge($container->getLocator()->product()->facade()); |
43 | 43 | }; |
44 | 44 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | protected function addTaxFacade(Container $container) |
54 | 54 | { |
55 | - $container[static::FACADE_TAX] = function (Container $container) { |
|
55 | + $container[static::FACADE_TAX] = function(Container $container) { |
|
56 | 56 | return new TaxProductConnectorToTaxBridge($container->getLocator()->tax()->facade()); |
57 | 57 | }; |
58 | 58 |
@@ -144,7 +144,7 @@ |
||
144 | 144 | */ |
145 | 145 | protected function getStatus(SpyDiscount $discountEntity) |
146 | 146 | { |
147 | - return $discountEntity->getIsActive() ? 'Active' : 'Inactive'; |
|
147 | + return $discountEntity->getIsActive() ? 'Active' : 'Inactive'; |
|
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
@@ -47,7 +47,7 @@ |
||
47 | 47 | |
48 | 48 | $process = new Process($command, APPLICATION_ROOT_DIR); |
49 | 49 | |
50 | - return $process->run(function ($type, $buffer) { |
|
50 | + return $process->run(function($type, $buffer) { |
|
51 | 51 | echo $buffer; |
52 | 52 | }); |
53 | 53 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | $process = new Process($command, APPLICATION_ROOT_DIR); |
53 | 53 | $process->setTimeout(self::PROCESS_TIMEOUT); |
54 | 54 | |
55 | - return $process->run(function ($type, $buffer) { |
|
55 | + return $process->run(function($type, $buffer) { |
|
56 | 56 | echo $buffer; |
57 | 57 | }); |
58 | 58 | } |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | if ($options[static::OPTION_INITIALIZE]) { |
135 | 135 | $command = 'vendor/bin/codecept build'; |
136 | 136 | $process = new Process($command, $this->applicationRoot, null, null, 4800); |
137 | - $process->run(function ($type, $buffer) use ($options) { |
|
137 | + $process->run(function($type, $buffer) use ($options) { |
|
138 | 138 | if ($options[static::OPTION_VERBOSE]) { |
139 | 139 | echo $buffer; |
140 | 140 | } |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | $command = 'vendor/bin/codecept run' . $config; |
147 | 147 | |
148 | 148 | $process = new Process($command, $this->applicationRoot, null, null, 4800); |
149 | - $process->run(function ($type, $buffer) { |
|
149 | + $process->run(function($type, $buffer) { |
|
150 | 150 | echo $buffer; |
151 | 151 | }); |
152 | 152 | } |
@@ -148,7 +148,7 @@ |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | $process = new Process($command, $this->applicationRoot, null, null, 4800); |
151 | - $process->run(function ($type, $buffer) { |
|
151 | + $process->run(function($type, $buffer) { |
|
152 | 152 | echo $buffer; |
153 | 153 | }); |
154 | 154 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function provideServiceLayerDependencies(Container $container) |
23 | 23 | { |
24 | - $container[self::KV_STORAGE] = function (Container $container) { |
|
24 | + $container[self::KV_STORAGE] = function(Container $container) { |
|
25 | 25 | return $container->getLocator()->storage()->client(); |
26 | 26 | }; |
27 | 27 |
@@ -59,7 +59,7 @@ |
||
59 | 59 | { |
60 | 60 | usort( |
61 | 61 | $options, |
62 | - function (ProductOptionTransfer $productOptionLeft, ProductOptionTransfer $productOptionRight) { |
|
62 | + function(ProductOptionTransfer $productOptionLeft, ProductOptionTransfer $productOptionRight) { |
|
63 | 63 | return ($productOptionLeft->getIdProductOptionValue() < $productOptionRight->getIdProductOptionValue()) ? -1 : 1; |
64 | 64 | } |
65 | 65 | ); |
@@ -41,7 +41,7 @@ |
||
41 | 41 | $resolver->setDefaults([ |
42 | 42 | 'data_class' => RatepayPaymentInstallmentTransfer::class, |
43 | 43 | SubFormInterface::OPTIONS_FIELD_NAME => [], |
44 | - 'validation_groups' => function (FormInterface $form) { |
|
44 | + 'validation_groups' => function(FormInterface $form) { |
|
45 | 45 | |
46 | 46 | if ($form->getParent()[PaymentTransfer::PAYMENT_SELECTION]->getData() != $this->getPropertyPath()) { |
47 | 47 | return; |