Skip to content

Commit

Permalink
Make implicit nullable param to explicit (PHP 8.4 compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN authored Apr 24, 2024
1 parent c7733e1 commit f8bf30e
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 f8bf30e

Please sign in to comment.