Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
Fix critical bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrés Correa Casablanca committed Aug 30, 2017
1 parent b55fd06 commit 3fd188b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.idea/
/coverage/
/vendor/
*.DS_Store
composer.lock
/composer.lock
coverage.xml
4 changes: 2 additions & 2 deletions src/GUID.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ private static function getTimeBytes(int $nTimeBytes): string
$timeBytes = \str_pad('', $nTimeBytes, \chr(0));

for ($i = $nTimeBytes - 1; $i >= 0; $i--) {
$timeByte = \chr($bytesPool & 0xff);
$timeBytes[$i] = $timeByte;
$timeByte = $bytesPool & 0xff;
$timeBytes[$i] = \chr($timeByte);
$bytesPool = ($bytesPool - $timeByte) >> 8;
}

Expand Down

0 comments on commit 3fd188b

Please sign in to comment.