mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-25 17:45:35 +03:00
Change UuidInterface::getInteger() to always return a string value
This commit is contained in:
+1
-1
@@ -419,7 +419,7 @@ class Uuid implements UuidInterface
|
||||
*
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getInteger()
|
||||
public function getInteger(): string
|
||||
{
|
||||
return $this->numberConverter->fromHex($this->getHex());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user