Skip to content

Commit

Permalink
fixed styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastiaanKloos committed Nov 7, 2023
1 parent 934e0ae commit 7b94013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ray.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Ray
public static $projectName = '';

/** @var Closure|null */
public static Closure|null $beforeSendRequest = null;
public static $beforeSendRequest = null;

public static function create(Client $client = null, string $uuid = null): self
{
Expand Down Expand Up @@ -859,7 +859,7 @@ protected function notifyWhenRateLimitReached(): void
self::rateLimiter()->notify();
}

public static function beforeSendRequest(Closure|null $closure): void
public static function beforeSendRequest(?Closure $closure = null): void
{
static::$beforeSendRequest = $closure;
}
Expand Down

0 comments on commit 7b94013

Please sign in to comment.