Completed
Pull Request — master (#2)
by
unknown
08:13
created
Category
DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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"')
Please login to merge, or discard this patch.
Twig/FlagbitCurrencyExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,10 +38,10 @@
 block discarded – undo
38 38
         $currencyService = $this->currency;
39 39
 
40 40
         return array(
41
-            new \Twig_SimpleFunction('currency_name', function ($currency = null) use ($currencyService) {
41
+            new \Twig_SimpleFunction('currency_name', function($currency = null) use ($currencyService) {
42 42
                 return $currencyService->getCurrencyName($currency);
43 43
             }),
44
-            new \Twig_SimpleFunction('currency_symbol', function ($currency = null) use ($currencyService) {
44
+            new \Twig_SimpleFunction('currency_symbol', function($currency = null) use ($currencyService) {
45 45
                 return $currencyService->getCurrencySymbol($currency);
46 46
             }),
47 47
         );
Please login to merge, or discard this patch.