| @@ -22,7 +22,7 @@ | ||
| 22 | 22 |                  ->scalarNode('default_currency') | 
| 23 | 23 |                      ->info('ISO 4217 currency code') | 
| 24 | 24 | ->validate() | 
| 25 | -                        ->ifTrue(function ($v) { | |
| 25 | +                        ->ifTrue(function($v) { | |
| 26 | 26 |                              return 1 !== preg_match('/^[A-Z]{3}$/', $v); | 
| 27 | 27 | }) | 
| 28 | 28 |                          ->thenInvalid('Invalid currency code "%s"') | 
| @@ -18,6 +18,6 @@ | ||
| 18 | 18 | |
| 19 | 19 | public function getFixturesDir() | 
| 20 | 20 |      { | 
| 21 | - return __DIR__ . '/Fixtures/'; | |
| 21 | + return __DIR__.'/Fixtures/'; | |
| 22 | 22 | } | 
| 23 | 23 | } | 
| @@ -22,7 +22,7 @@ | ||
| 22 | 22 | $configuration = new Configuration(); | 
| 23 | 23 | $config = $this->processConfiguration($configuration, $config); | 
| 24 | 24 | |
| 25 | - $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); | |
| 25 | + $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); | |
| 26 | 26 |          $loader->load('services.xml'); | 
| 27 | 27 | |
| 28 | 28 |          $container->findDefinition('flagbit_currency') | 
| @@ -39,10 +39,10 @@ | ||
| 39 | 39 | $currencyService = $this->currency; | 
| 40 | 40 | |
| 41 | 41 | return [ | 
| 42 | -            new \Twig_SimpleFunction('currency_name', function ($currency = null) use ($currencyService) { | |
| 42 | +            new \Twig_SimpleFunction('currency_name', function($currency = null) use ($currencyService) { | |
| 43 | 43 | return $currencyService->getCurrencyName($currency); | 
| 44 | 44 | }), | 
| 45 | -            new \Twig_SimpleFunction('currency_symbol', function ($currency = null) use ($currencyService) { | |
| 45 | +            new \Twig_SimpleFunction('currency_symbol', function($currency = null) use ($currencyService) { | |
| 46 | 46 | return $currencyService->getCurrencySymbol($currency); | 
| 47 | 47 | }), | 
| 48 | 48 | ]; |