feat: Add PHP 8.4 support

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2024-11-08 12:13:26 +01:00
commit 2b4e9a4811
No known key found for this signature in database
GPG key ID: F72FA5B49FFA96B0
4 changed files with 4 additions and 4 deletions

View file

@ -51,7 +51,7 @@ class Scope {
* @param int|string $depth
* @param string|null $path
*/
public function __construct(string $href = '', $depth = 1, string $path = null) {
public function __construct(string $href = '', $depth = 1, ?string $path = null) {
$this->href = $href;
$this->depth = $depth;
$this->path = $path;