From d4576e1afd0a6992eec36eb722af0567996714e8 Mon Sep 17 00:00:00 2001 From: Michael Stein Date: Thu, 3 Jul 2025 00:52:35 +0200 Subject: [PATCH] [BUGFIX] do not continue on any other than array in collecting attachments the response array doesn't fit to this structure. --- src/Model/Core/BunqModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Core/BunqModel.php b/src/Model/Core/BunqModel.php index 37fbc63a..de431286 100644 --- a/src/Model/Core/BunqModel.php +++ b/src/Model/Core/BunqModel.php @@ -245,7 +245,7 @@ protected static function createListFromResponseArray( $list = []; foreach ($responseArray as $className => $element) { - if (is_null($element)) { + if (!is_array($element)) { return $list; }