Change UuidInterface::getInteger() to always return a string value

This commit is contained in:
Ben Ramsey
2019-12-27 12:23:44 -05:00
parent b7f9dc5010
commit ffc400e009
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -419,7 +419,7 @@ class Uuid implements UuidInterface
*
* @inheritDoc
*/
public function getInteger()
public function getInteger(): string
{
return $this->numberConverter->fromHex($this->getHex());
}