Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Jun 17, 2024
1 parent 1d38429 commit d53940c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Reflection/Exception/CodeLocationMissing.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

class CodeLocationMissing extends RuntimeException
{
public static function create(string $hint = null): self
public static function create(string|null $hint = null): self
{
$message = 'Code location is missing';
if ($hint !== null) {
$message .= '. '.$hint;
$message .= '. ' . $hint;
}

return new self($message);
Expand Down

0 comments on commit d53940c

Please sign in to comment.