diff --git a/src/CsobPaymentAuthorizator.php b/src/CsobPaymentAuthorizator.php index 3482dbb..f46520f 100644 --- a/src/CsobPaymentAuthorizator.php +++ b/src/CsobPaymentAuthorizator.php @@ -76,8 +76,8 @@ public static function parseTransactions(string $haystack): array $rules[] = ['note' => $note]; } $rules = array_merge([], ...$rules); - $rules = array_map(fn(string $item) => trim($item), $rules); - $rules = array_filter($rules, fn($key) => is_string($key), ARRAY_FILTER_USE_KEY); + $rules = array_map(fn (string $item) => trim($item), $rules); + $rules = array_filter($rules, fn ($key) => is_string($key), ARRAY_FILTER_USE_KEY); $return[] = new Transaction($relatedDate ?? DateTime::from('now'), $currency, $rules); }