From 20eb01a179d96cde69fe44789535ea72abedc4ca Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Tue, 29 Oct 2024 01:31:10 +0000 Subject: [PATCH] Functions.php: Use explicit nullable type on parameter arguments --- lib/Less/Functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Less/Functions.php b/lib/Less/Functions.php index 2d3baba4..b571392d 100644 --- a/lib/Less/Functions.php +++ b/lib/Less/Functions.php @@ -9,7 +9,7 @@ class Less_Functions { public $env; public $currentFileInfo; - public function __construct( $env, array $currentFileInfo = null ) { + public function __construct( $env, ?array $currentFileInfo = null ) { $this->env = $env; $this->currentFileInfo = $currentFileInfo; }