From 6514b7f08f74e1f4f785ece18cffb2aef1aadd65 Mon Sep 17 00:00:00 2001 From: Remy Vaartjes Date: Thu, 29 Jun 2023 16:22:56 +0200 Subject: [PATCH] __serialize must return array 8.1 --- src/ExpressionLanguage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ExpressionLanguage.php b/src/ExpressionLanguage.php index a35cfa5..108fc60 100644 --- a/src/ExpressionLanguage.php +++ b/src/ExpressionLanguage.php @@ -43,11 +43,11 @@ function (array $variables, $arg0, $arg1) { } /** - * @return null + * @return array */ public function __serialize() { - return null; + return []; } /**