Skip to content

Commit

Permalink
Fix CS/WS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Dec 24, 2023
1 parent 30401dc commit 09297e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/uuid.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function uuid(): string
substr($bytes, 0, 8),
substr($bytes, 8, 4),
substr($bytes, 13, 3),
hexdec(substr($bytes, 16, 4)) & 0x3fff | 0x8000,
substr($bytes, 20, 12)
hexdec(substr($bytes, 16, 4)) & 0x3FFF | 0x8000,
substr($bytes, 20, 12),
);
}
2 changes: 1 addition & 1 deletion tests/UuidTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private function assertStringIsUuid(string $string): void
{
$this->assertMatchesRegularExpression(
'/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/',
$string
$string,
);
}
}

0 comments on commit 09297e5

Please sign in to comment.