From e1a2a234f2ed889101b94cbb1725ca5a4f3ee57c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Mon, 23 Nov 2020 22:37:52 +0100 Subject: [PATCH] codestyle test --- src/CsobPaymentAuthorizator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }