@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | protected function addNewRelicApi(Container $container) |
| 39 | 39 | { |
| 40 | - $container[static::NEW_RELIC_API] = function () { |
|
| 40 | + $container[static::NEW_RELIC_API] = function() { |
|
| 41 | 41 | return new NewRelicApi(); |
| 42 | 42 | }; |
| 43 | 43 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | protected function addUtilNetworkService(Container $container) |
| 53 | 53 | { |
| 54 | - $container[static::SERVICE_NETWORK] = function (Container $container) { |
|
| 54 | + $container[static::SERVICE_NETWORK] = function(Container $container) { |
|
| 55 | 55 | return $container->getLocator()->utilNetwork()->service(); |
| 56 | 56 | }; |
| 57 | 57 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | */ |
| 41 | 41 | protected function addNewRelicApi(Container $container) |
| 42 | 42 | { |
| 43 | - $container[static::NEW_RELIC_API] = function () { |
|
| 43 | + $container[static::NEW_RELIC_API] = function() { |
|
| 44 | 44 | return new NewRelicApi(); |
| 45 | 45 | }; |
| 46 | 46 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | */ |
| 55 | 55 | protected function addStore(Container $container) |
| 56 | 56 | { |
| 57 | - $container[static::STORE] = function () { |
|
| 57 | + $container[static::STORE] = function() { |
|
| 58 | 58 | return Store::getInstance(); |
| 59 | 59 | }; |
| 60 | 60 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | protected function addUtilNetworkService(Container $container) |
| 70 | 70 | { |
| 71 | - $container[static::SERVICE_NETWORK] = function (Container $container) { |
|
| 71 | + $container[static::SERVICE_NETWORK] = function(Container $container) { |
|
| 72 | 72 | return $container->getLocator()->utilNetwork()->service(); |
| 73 | 73 | }; |
| 74 | 74 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | protected function addConfig(Container $container) |
| 37 | 37 | { |
| 38 | - $container[self::CONFIG] = function () { |
|
| 38 | + $container[self::CONFIG] = function() { |
|
| 39 | 39 | return Config::getInstance(); |
| 40 | 40 | }; |
| 41 | 41 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function provideBusinessLayerDependencies(Container $container) |
| 29 | 29 | { |
| 30 | - $container[self::STORE_CONFIG] = function (Container $container) { |
|
| 30 | + $container[self::STORE_CONFIG] = function(Container $container) { |
|
| 31 | 31 | return Store::getInstance(); |
| 32 | 32 | }; |
| 33 | 33 | |
@@ -41,11 +41,11 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | public function provideCommunicationLayerDependencies(Container $container) |
| 43 | 43 | { |
| 44 | - $container[self::FACADE_COUNTRY] = function (Container $container) { |
|
| 44 | + $container[self::FACADE_COUNTRY] = function(Container $container) { |
|
| 45 | 45 | return new TaxToCountryBridge($container->getLocator()->country()->facade()); |
| 46 | 46 | }; |
| 47 | 47 | |
| 48 | - $container[self::SERVICE_DATE_FORMATTER] = function (Container $container) { |
|
| 48 | + $container[self::SERVICE_DATE_FORMATTER] = function(Container $container) { |
|
| 49 | 49 | return $container->getLocator()->utilDateTime()->service(); |
| 50 | 50 | }; |
| 51 | 51 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $utilDateTimeService = new UtilDateTimeService(); |
| 26 | 26 | |
| 27 | 27 | $app['twig'] = $app->share( |
| 28 | - $app->extend('twig', function (\Twig_Environment $twig) use ($utilDateTimeService) { |
|
| 28 | + $app->extend('twig', function(\Twig_Environment $twig) use ($utilDateTimeService) { |
|
| 29 | 29 | $twig->addExtension(new DateTimeFormatterTwigExtension($utilDateTimeService)); |
| 30 | 30 | |
| 31 | 31 | return $twig; |
@@ -25,15 +25,15 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function provideBusinessLayerDependencies(Container $container) |
| 27 | 27 | { |
| 28 | - $container[self::PLUGINS_STATE_MACHINE_HANDLERS] = function () { |
|
| 28 | + $container[self::PLUGINS_STATE_MACHINE_HANDLERS] = function() { |
|
| 29 | 29 | return $this->getStateMachineHandlers(); |
| 30 | 30 | }; |
| 31 | 31 | |
| 32 | - $container[self::PLUGIN_GRAPH] = function () { |
|
| 32 | + $container[self::PLUGIN_GRAPH] = function() { |
|
| 33 | 33 | return $this->getGraphPlugin(); |
| 34 | 34 | }; |
| 35 | 35 | |
| 36 | - $container[static::SERVICE_NETWORK] = function (Container $container) { |
|
| 36 | + $container[static::SERVICE_NETWORK] = function(Container $container) { |
|
| 37 | 37 | return $container->getLocator()->utilNetwork()->service(); |
| 38 | 38 | }; |
| 39 | 39 | } |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | public function provideCommunicationLayerDependencies(Container $container) |
| 47 | 47 | { |
| 48 | - $container[self::PLUGINS_STATE_MACHINE_HANDLERS] = function () { |
|
| 48 | + $container[self::PLUGINS_STATE_MACHINE_HANDLERS] = function() { |
|
| 49 | 49 | return $this->getStateMachineHandlers(); |
| 50 | 50 | }; |
| 51 | 51 | } |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | */ |
| 64 | 64 | public function fromInteger($amount, $isoCode = null) |
| 65 | 65 | { |
| 66 | - return $this->moneyFacade->fromInteger($amount, $isoCode); |
|
| 66 | + return $this->moneyFacade->fromInteger($amount, $isoCode); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | } |
@@ -27,19 +27,19 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function provideBusinessLayerDependencies(Container $container) |
| 29 | 29 | { |
| 30 | - $container[static::PLUGIN_GRAPH] = function () { |
|
| 30 | + $container[static::PLUGIN_GRAPH] = function() { |
|
| 31 | 31 | return $this->getGraphPlugin(); |
| 32 | 32 | }; |
| 33 | 33 | |
| 34 | - $container[static::FINDER] = function () { |
|
| 34 | + $container[static::FINDER] = function() { |
|
| 35 | 35 | return $this->createFinder(); |
| 36 | 36 | }; |
| 37 | 37 | |
| 38 | - $container[static::TWIG_ENVIRONMENT] = function () { |
|
| 38 | + $container[static::TWIG_ENVIRONMENT] = function() { |
|
| 39 | 39 | return $this->createTwigEnvironment(); |
| 40 | 40 | }; |
| 41 | 41 | |
| 42 | - $container[static::TWIG_LOADER_FILESYSTEM] = function () { |
|
| 42 | + $container[static::TWIG_LOADER_FILESYSTEM] = function() { |
|
| 43 | 43 | return $this->createTwigLoaderFilesystem(); |
| 44 | 44 | }; |
| 45 | 45 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register(Application $app) |
| 26 | 26 | { |
| 27 | - $app['messenger'] = function () { |
|
| 27 | + $app['messenger'] = function() { |
|
| 28 | 28 | return $this->getFacade(); |
| 29 | 29 | }; |
| 30 | 30 | } |