Passed
Push — master ( 349ab7...6caf60 )
by Jan
04:42
created
src/Services/AmountFormatter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     protected function configureOptions(OptionsResolver $resolver): void
107 107
     {
108 108
         $resolver->setDefaults([
109
-            'show_prefix' => function (Options $options) {
109
+            'show_prefix' => function(Options $options) {
110 110
                 if (null !== $options['measurement_unit']) {
111 111
                     /** @var MeasurementUnit $unit */
112 112
                     $unit = $options['measurement_unit'];
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
                 return false;
118 118
             },
119
-            'is_integer' => function (Options $options) {
119
+            'is_integer' => function(Options $options) {
120 120
                 if (null !== $options['measurement_unit']) {
121 121
                     /** @var MeasurementUnit $unit */
122 122
                     $unit = $options['measurement_unit'];
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
                 return true;
128 128
             },
129
-            'unit' => function (Options $options) {
129
+            'unit' => function(Options $options) {
130 130
                 if (null !== $options['measurement_unit']) {
131 131
                     /** @var MeasurementUnit $unit */
132 132
                     $unit = $options['measurement_unit'];
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
         $resolver->setAllowedTypes('decimals', 'int');
146 146
 
147
-        $resolver->setNormalizer('decimals', function (Options $options, $value) {
147
+        $resolver->setNormalizer('decimals', function(Options $options, $value) {
148 148
             // If the unit is integer based, then dont show any decimals
149 149
             if ($options['is_integer']) {
150 150
                 return 0;
Please login to merge, or discard this patch.
src/Twig/BarcodeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     public function getFilters()
30 30
     {
31 31
         return [
32
-            new TwigFilter('barcodeSVG', function (string $content, string $type = 'QRCODE') {
32
+            new TwigFilter('barcodeSVG', function(string $content, string $type = 'QRCODE') {
33 33
                 $barcodeFactory = new Barcode();
34 34
                 $barcode = $barcodeFactory->getBarcodeObj($type, $content);
35 35
 
Please login to merge, or discard this patch.