Skip to content

Commit

Permalink
Less_Functions: Fix "Implicitly nullable parameter" PHP 8.4 warning
Browse files Browse the repository at this point in the history
Bug: T376276
Change-Id: I150d0b03e36bf89c898d9a4cefcf2bb6f80c45e1
  • Loading branch information
reedy authored and Krinkle committed Oct 29, 2024
1 parent c6922de commit 18344e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Less/Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 18344e7

Please sign in to comment.