Passed
Pull Request — master (#7)
by
unknown
04:01 queued 18s
created
app/Services/CSV/Specifics/IngBelgium.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
      */
78 78
     protected static function processTransactionDetails(array $row): array
79 79
     {
80
-        if(isset($row[9])) {
80
+        if (isset($row[9])) {
81 81
             $transactionDetails = $row[9];
82 82
         } 
83
-        if(isset($row[8]) && $transactionDetails == '') {
83
+        if (isset($row[8]) && $transactionDetails == '') {
84 84
             $transactionDetails = $row[8];
85 85
         }
86 86
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     private static function convertStructuredDescriptionToProperFormat(string $description): string
137 137
     {
138 138
         preg_match('/^\*\*\*(\d{3}\/\d{4}\/\d{5})\*\*\*$/', $description, $matches);
139
-        if(isset($matches[1])) {
139
+        if (isset($matches[1])) {
140 140
             return '+++' . $matches[1] . '+++';
141 141
         }
142 142
         return $description;
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      */
151 151
     private static function parseInformationFromTransactionDetails(string $transactionDetails, string $regex): string
152 152
     {
153
-        if(isset($transactionDetails)) {
153
+        if (isset($transactionDetails)) {
154 154
             preg_match($regex, $transactionDetails, $matches);
155 155
             if (isset($matches['value'])) {
156 156
                 return trim($matches['value']);
Please login to merge, or discard this patch.