@@ -26,7 +26,7 @@ |
||
26 | 26 | */ |
27 | 27 | public function register(Application $app) |
28 | 28 | { |
29 | - $app['monolog.level'] = function () { |
|
29 | + $app['monolog.level'] = function() { |
|
30 | 30 | return Config::get(LogConstants::LOG_LEVEL, Logger::ERROR); |
31 | 31 | }; |
32 | 32 | } |
@@ -82,8 +82,8 @@ discard block |
||
82 | 82 | static::COL_TWO => 'Two', |
83 | 83 | ]); |
84 | 84 | $config->setSortable([ |
85 | - static::COL_ONE, |
|
86 | - static::COL_TWO, |
|
85 | + static::COL_ONE, |
|
86 | + static::COL_TWO, |
|
87 | 87 | ]); |
88 | 88 | |
89 | 89 | $config->setDefaultSortField(static::COL_TWO); |
@@ -91,8 +91,8 @@ discard block |
||
91 | 91 | $result = $this->table->getOrders($config); |
92 | 92 | $expected = [ |
93 | 93 | [ |
94 | - 'column' => 1, |
|
95 | - 'dir' => 'asc', |
|
94 | + 'column' => 1, |
|
95 | + 'dir' => 'asc', |
|
96 | 96 | ], |
97 | 97 | ]; |
98 | 98 | $this->assertSame($expected, $result); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | { |
47 | 47 | $this->assertProductReviewTransfer($productReviewTransfer); |
48 | 48 | |
49 | - return $this->handleDatabaseTransaction(function () use ($productReviewTransfer) { |
|
49 | + return $this->handleDatabaseTransaction(function() use ($productReviewTransfer) { |
|
50 | 50 | return $this->executeUpdateProductReviewStatusTransaction($productReviewTransfer); |
51 | 51 | }); |
52 | 52 | } |
@@ -41,7 +41,7 @@ |
||
41 | 41 | { |
42 | 42 | $this->assertRatingRange($productReviewTransfer); |
43 | 43 | |
44 | - return $this->handleDatabaseTransaction(function () use ($productReviewTransfer) { |
|
44 | + return $this->handleDatabaseTransaction(function() use ($productReviewTransfer) { |
|
45 | 45 | return $this->executeCreateProductReviewTransaction($productReviewTransfer); |
46 | 46 | }); |
47 | 47 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | */ |
44 | 44 | public function deleteProductReview(ProductReviewTransfer $productReviewTransfer) |
45 | 45 | { |
46 | - $this->handleDatabaseTransaction(function () use ($productReviewTransfer) { |
|
46 | + $this->handleDatabaseTransaction(function() use ($productReviewTransfer) { |
|
47 | 47 | $this->executeDeleteProductReviewTransaction($productReviewTransfer); |
48 | 48 | }); |
49 | 49 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | */ |
27 | 27 | public function register(Application $app) |
28 | 28 | { |
29 | - $app->finish(function (Request $request) use ($app) { |
|
29 | + $app->finish(function(Request $request) use ($app) { |
|
30 | 30 | if (isset($app[StorageConstants::STORAGE_CACHE_STRATEGY])) { |
31 | 31 | $this->getClient()->persistCacheForRequest($request, $app[StorageConstants::STORAGE_CACHE_STRATEGY]); |
32 | 32 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | */ |
28 | 28 | public function register(Application $app) |
29 | 29 | { |
30 | - $app->finish(function (Request $request) { |
|
30 | + $app->finish(function(Request $request) { |
|
31 | 31 | $this->getClient()->persistCacheForRequest($request); |
32 | 32 | }); |
33 | 33 | } |
@@ -25,7 +25,7 @@ |
||
25 | 25 | public function register(Application $app) |
26 | 26 | { |
27 | 27 | $containerGlobals = new ContainerGlobals(); |
28 | - $containerGlobals[static::CLIENT_STORAGE] = function () { |
|
28 | + $containerGlobals[static::CLIENT_STORAGE] = function() { |
|
29 | 29 | $container = new Container(); |
30 | 30 | |
31 | 31 | return $container->getLocator()->storage()->client(); |
@@ -102,14 +102,14 @@ |
||
102 | 102 | $builder |
103 | 103 | ->get($fieldName) |
104 | 104 | ->addModelTransformer(new CallbackTransformer( |
105 | - function ($idsCustomerAsArray) { |
|
105 | + function($idsCustomerAsArray) { |
|
106 | 106 | if (!count($idsCustomerAsArray)) { |
107 | 107 | return []; |
108 | 108 | } |
109 | 109 | |
110 | 110 | return implode(',', $idsCustomerAsArray); |
111 | 111 | }, |
112 | - function ($idsCustomerAsCsv) { |
|
112 | + function($idsCustomerAsCsv) { |
|
113 | 113 | if (empty($idsCustomerAsCsv)) { |
114 | 114 | return []; |
115 | 115 | } |