From 489c023e6d48c630d8fb10399fa9d556802adb6c Mon Sep 17 00:00:00 2001 From: Daniel Drexlmaier Date: Sun, 8 Dec 2024 15:05:44 +0100 Subject: [PATCH] Update Parser.php php 8.4 kompatibel Implicitly marking parameter $cache as nullable is deprecated, the explicit nullable type must be used instead in --- src/Mustache/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mustache/Parser.php b/src/Mustache/Parser.php index 5db58244..ae35a8dd 100644 --- a/src/Mustache/Parser.php +++ b/src/Mustache/Parser.php @@ -72,7 +72,7 @@ public function setPragmas(array $pragmas) * * @return array Mustache Token parse tree */ - private function buildTree(array &$tokens, array $parent = null) + private function buildTree(array &$tokens, ?array $parent = null) { $nodes = array();