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

Commit

Permalink
Hack: temporal change into __toString
Browse files Browse the repository at this point in the history
Hack: temporal change into __toString to fix an issue inside client code.
  • Loading branch information
castarco authored Feb 17, 2017
1 parent 319c262 commit aab27e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GUID.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function equals(GUIDInterface $guid): bool

public function __toString(): string
{
return $this->asHexString();
return $this->asBase64UrlString();
}

private static function getTimeBytes(int $nTimeBytes): string
Expand Down

0 comments on commit aab27e4

Please sign in to comment.