From eb231bc548d93540fa7b1516cabb95cce3994ba5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 22 Jun 2022 17:09:20 +0200 Subject: [PATCH] Fixed: ?? didn't work here as bool won't be seen as null --- src/Util/Images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/Images.php b/src/Util/Images.php index c36ce26899..4fa2eda04a 100644 --- a/src/Util/Images.php +++ b/src/Util/Images.php @@ -247,7 +247,7 @@ class Images $data['size'] = $filesize; } - return $data ?? []; + return is_array($data) ? $data : []; } /** -- 2.39.5