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 6472c7a commit 934e0ae
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 null|Closure $beforeSendRequest = null;
public static Closure|null $beforeSendRequest = null;

Check failure on line 108 in src/Ray.php

View workflow job for this annotation

GitHub Actions / P7.4 - prefer-lowest - ubuntu-latest

syntax error, unexpected '|', expecting variable (T_VARIABLE)

Check failure on line 108 in src/Ray.php

View workflow job for this annotation

GitHub Actions / P7.4 - prefer-stable - ubuntu-latest

syntax error, unexpected '|', expecting variable (T_VARIABLE)

Check failure on line 108 in src/Ray.php

View workflow job for this annotation

GitHub Actions / P7.3 - prefer-lowest - ubuntu-latest

syntax error, unexpected 'Closure' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)

Check failure on line 108 in src/Ray.php

View workflow job for this annotation

GitHub Actions / P7.3 - prefer-stable - ubuntu-latest

syntax error, unexpected 'Closure' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)

Check failure on line 108 in src/Ray.php

View workflow job for this annotation

GitHub Actions / P7.4 - prefer-lowest - windows-latest

syntax error, unexpected '|', expecting variable (T_VARIABLE)

Check failure on line 108 in src/Ray.php

View workflow job for this annotation

GitHub Actions / P7.4 - prefer-stable - windows-latest

syntax error, unexpected '|', expecting variable (T_VARIABLE)

Check failure on line 108 in src/Ray.php

View workflow job for this annotation

GitHub Actions / P7.3 - prefer-lowest - windows-latest

syntax error, unexpected 'Closure' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)

Check failure on line 108 in src/Ray.php

View workflow job for this annotation

GitHub Actions / P7.3 - prefer-stable - windows-latest

syntax error, unexpected 'Closure' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)

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(null|Closure $closure): void
public static function beforeSendRequest(Closure|null $closure): void
{
static::$beforeSendRequest = $closure;
}
Expand Down

0 comments on commit 934e0ae

Please sign in to comment.