Skip to content

Commit

Permalink
Merge pull request #908 from GromNaN/patch-1
Browse files Browse the repository at this point in the history
Last explicit nullable param (PHP 8.4 compatibility)
  • Loading branch information
freekmurze authored Apr 24, 2024
2 parents c7733e1 + f8bf30e commit c44f8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ray.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class Ray
/** @var Closure|null */
public static $beforeSendRequest = null;

public static function create(?Client $client = null, string $uuid = null): self
public static function create(?Client $client = null, ?string $uuid = null): self
{
$settings = SettingsFactory::createFromConfigFile();

Expand Down

0 comments on commit c44f8cf

Please sign in to comment.