@@ -27,11 +27,11 @@ |
||
| 27 | 27 | { |
| 28 | 28 | $container = parent::provideBusinessLayerDependencies($container); |
| 29 | 29 | |
| 30 | - $container[static::SYMFONY_FILE_SYSTEM] = function () { |
|
| 30 | + $container[static::SYMFONY_FILE_SYSTEM] = function() { |
|
| 31 | 31 | return new Filesystem(); |
| 32 | 32 | }; |
| 33 | 33 | |
| 34 | - $container[static::SYMFONY_FINDER] = function () { |
|
| 34 | + $container[static::SYMFONY_FINDER] = function() { |
|
| 35 | 35 | return new Finder(); |
| 36 | 36 | }; |
| 37 | 37 | |
@@ -27,11 +27,11 @@ |
||
| 27 | 27 | { |
| 28 | 28 | $container = parent::provideBusinessLayerDependencies($container); |
| 29 | 29 | |
| 30 | - $container[static::SYMFONY_FILE_SYSTEM] = function () { |
|
| 30 | + $container[static::SYMFONY_FILE_SYSTEM] = function() { |
|
| 31 | 31 | return new Filesystem(); |
| 32 | 32 | }; |
| 33 | 33 | |
| 34 | - $container[static::SYMFONY_FINDER] = function () { |
|
| 34 | + $container[static::SYMFONY_FINDER] = function() { |
|
| 35 | 35 | return new Finder(); |
| 36 | 36 | }; |
| 37 | 37 | |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | protected function addUtilEncodingService(Container $container) |
| 40 | 40 | { |
| 41 | - $container[static::SERVICE_UTIL_ENCODING] = function (Container $container) { |
|
| 41 | + $container[static::SERVICE_UTIL_ENCODING] = function(Container $container) { |
|
| 42 | 42 | return new PropelQueryBuilderToUtilEncodingBridge($container->getLocator()->utilEncoding()->service()); |
| 43 | 43 | }; |
| 44 | 44 | return $container; |
@@ -24,11 +24,11 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function provideBusinessLayerDependencies(Container $container) |
| 26 | 26 | { |
| 27 | - $container[self::CLIENT_QUEUE] = function (Container $container) { |
|
| 27 | + $container[self::CLIENT_QUEUE] = function(Container $container) { |
|
| 28 | 28 | return $container->getLocator()->queue()->client(); |
| 29 | 29 | }; |
| 30 | 30 | |
| 31 | - $container[self::QUEUE_MESSAGE_PROCESSOR_PLUGINS] = function (Container $container) { |
|
| 31 | + $container[self::QUEUE_MESSAGE_PROCESSOR_PLUGINS] = function(Container $container) { |
|
| 32 | 32 | return $this->getProcessorMessagePlugins($container); |
| 33 | 33 | }; |
| 34 | 34 | } |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | protected function provideStorageClient(Container $container) |
| 36 | 36 | { |
| 37 | - $container[self::CLIENT_STORAGE] = function (Container $container) { |
|
| 37 | + $container[self::CLIENT_STORAGE] = function(Container $container) { |
|
| 38 | 38 | return $container->getLocator()->storage()->client(); |
| 39 | 39 | }; |
| 40 | 40 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | protected function addUtilTextService(Container $container) |
| 37 | 37 | { |
| 38 | - $container[static::SERVICE_UTIL_TEXT] = function (Container $container) { |
|
| 38 | + $container[static::SERVICE_UTIL_TEXT] = function(Container $container) { |
|
| 39 | 39 | return new TwigToUtilTextServiceBridge($container->getLocator()->utilText()->service()); |
| 40 | 40 | }; |
| 41 | 41 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | protected function addUtilTextService(Container $container) |
| 37 | 37 | { |
| 38 | - $container[static::SERVICE_UTIL_TEXT] = function (Container $container) { |
|
| 38 | + $container[static::SERVICE_UTIL_TEXT] = function(Container $container) { |
|
| 39 | 39 | return new TwigToUtilTextServiceBridge($container->getLocator()->utilText()->service()); |
| 40 | 40 | }; |
| 41 | 41 | |
@@ -196,7 +196,7 @@ |
||
| 196 | 196 | /** |
| 197 | 197 | * @param array $item |
| 198 | 198 | * |
| 199 | - * @return array |
|
| 199 | + * @return string[] |
|
| 200 | 200 | */ |
| 201 | 201 | protected function buildActions(array $item) |
| 202 | 202 | { |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | */ |
| 20 | 20 | public function sort(array $relationProducts) |
| 21 | 21 | { |
| 22 | - usort($relationProducts, function (StorageProductAbstractRelationTransfer $leftProduct, StorageProductAbstractRelationTransfer $rightProduct) { |
|
| 22 | + usort($relationProducts, function(StorageProductAbstractRelationTransfer $leftProduct, StorageProductAbstractRelationTransfer $rightProduct) { |
|
| 23 | 23 | return strnatcmp($leftProduct->getOrder(), $rightProduct->getOrder()); |
| 24 | 24 | }); |
| 25 | 25 | |