@@ -77,9 +77,9 @@ discard block |
||
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 |
||
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 |
||
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']); |