@@ -32,9 +32,9 @@ |
||
| 32 | 32 | 'updated_at', |
| 33 | 33 | ]; |
| 34 | 34 | |
| 35 | - /** |
|
| 36 | - * Define custom actions here |
|
| 37 | - */ |
|
| 35 | + /** |
|
| 36 | + * Define custom actions here |
|
| 37 | + */ |
|
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * Note: for MySQL compatibility |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | */ |
| 46 | 46 | public function removeProductReviewDateFields(array $productReview) |
| 47 | 47 | { |
| 48 | - return array_diff_key($productReview, array_flip(static::DATE_FIELDS)); |
|
| 48 | + return array_diff_key($productReview, array_flip(static::DATE_FIELDS)); |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | } |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | protected function addFileSystemReaderPlugin(Container $container) |
| 45 | 45 | { |
| 46 | - $container[static::PLUGIN_READER] = function (Container $container) { |
|
| 46 | + $container[static::PLUGIN_READER] = function(Container $container) { |
|
| 47 | 47 | return new FileSystemReaderPlugin(); |
| 48 | 48 | }; |
| 49 | 49 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | */ |
| 58 | 58 | protected function addFileSystemWriterPlugin(Container $container) |
| 59 | 59 | { |
| 60 | - $container[static::PLUGIN_WRITER] = function (Container $container) { |
|
| 60 | + $container[static::PLUGIN_WRITER] = function(Container $container) { |
|
| 61 | 61 | return new FileSystemWriterPlugin(); |
| 62 | 62 | }; |
| 63 | 63 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | */ |
| 72 | 72 | protected function addFileSystemStreamPlugin(Container $container) |
| 73 | 73 | { |
| 74 | - $container[static::PLUGIN_STREAM] = function (Container $container) { |
|
| 74 | + $container[static::PLUGIN_STREAM] = function(Container $container) { |
|
| 75 | 75 | return new FileSystemStreamPlugin(); |
| 76 | 76 | }; |
| 77 | 77 | |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\FileSystemServiceTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |
@@ -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 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | { |
| 25 | 25 | $container = parent::provideServiceLayerDependencies($container); |
| 26 | 26 | |
| 27 | - $container[self::STORAGE_CLIENT] = function (Container $container) { |
|
| 27 | + $container[self::STORAGE_CLIENT] = function(Container $container) { |
|
| 28 | 28 | return $container->getLocator()->storage()->client(); |
| 29 | 29 | }; |
| 30 | 30 | |
@@ -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(); |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | */ |
| 47 | 47 | protected function addStorageClient(Container $container) |
| 48 | 48 | { |
| 49 | - $container[self::CLIENT_STORAGE] = function (Container $container) { |
|
| 49 | + $container[self::CLIENT_STORAGE] = function(Container $container) { |
|
| 50 | 50 | return $container->getLocator()->storage()->client(); |
| 51 | 51 | }; |
| 52 | 52 | } |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | |
| 24 | 24 | use _generated\StorageClientTesterActions; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * Define custom actions here |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * Define custom actions here |
|
| 28 | + */ |
|
| 29 | 29 | |
| 30 | 30 | } |