From 648da9a90e66ee67b196614cb51589126b5407a8 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Sun, 24 Nov 2024 20:57:44 -0800 Subject: [PATCH] PHP 8.4 fix for null param Info: https://dev.to/gromnan/fix-php-84-deprecation-implicitly-marking-parameter-as-nullable-is-deprecated-the-explicit-nullable-type-must-be-used-instead-5gp3 --- class.krumo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class.krumo.php b/class.krumo.php index b7f7b50..c7ca325 100644 --- a/class.krumo.php +++ b/class.krumo.php @@ -677,7 +677,7 @@ public static function setLineNumberTestCallback($callback) * * @param array $cascade Cascading information */ - public static function cascade(array $cascade = null) + public static function cascade(?array $cascade = null) { static::$_cascade = $cascade; }