Skip to content

Commit

Permalink
Functions.php: Use explicit nullable type on parameter arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
reedy authored Oct 29, 2024
1 parent c6922de commit 20eb01a
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 20eb01a

Please sign in to comment.