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