Skip to content

Commit

Permalink
Fixing phpstan error
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankraemer committed Mar 27, 2024
1 parent d1046eb commit bc7d33d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Utils/CorrelationID.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class CorrelationID implements CorrelationIDInterface
protected static function generate(): string
{
if (class_alias('Ramsey\Uuid\Uuid', 'Uuid')) {
/** @phpstan-ignore-next-line */
return Uuid::uuid4()->toString();
}

Expand Down

0 comments on commit bc7d33d

Please sign in to comment.