@@ -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 | } |
@@ -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(); |
@@ -167,7 +167,7 @@ |
||
| 167 | 167 | $query = $this->getFactory()->createUserHasRoleQuery(); |
| 168 | 168 | |
| 169 | 169 | $query->filterByFkAclGroup($idGroup) |
| 170 | - ->filterByFkUser($idUser); |
|
| 170 | + ->filterByFkUser($idUser); |
|
| 171 | 171 | |
| 172 | 172 | return $query; |
| 173 | 173 | } |
@@ -272,7 +272,7 @@ |
||
| 272 | 272 | { |
| 273 | 273 | $credentials = $this->config->getCredentials(); |
| 274 | 274 | |
| 275 | - $credential = array_filter($credentials, function ($username) use ($userTransfer) { |
|
| 275 | + $credential = array_filter($credentials, function($username) use ($userTransfer) { |
|
| 276 | 276 | return $username === $userTransfer->getUsername(); |
| 277 | 277 | }, ARRAY_FILTER_USE_KEY); |
| 278 | 278 | |