Remove deprecated getClockSeqHiAndReservedHex() method

This commit is contained in:
Ben Ramsey
2022-03-27 16:37:53 -05:00
parent eebc792d6f
commit 1d4077d213
10 changed files with 34 additions and 50 deletions
+3 -3
View File
@@ -18,9 +18,9 @@ use DateTimeInterface;
use Ramsey\Uuid\Codec\CodecInterface;
use Ramsey\Uuid\Converter\NumberConverterInterface;
use Ramsey\Uuid\Converter\TimeConverterInterface;
use Ramsey\Uuid\Fields\FieldsInterface;
use Ramsey\Uuid\Lazy\LazyUuidFromString;
use Ramsey\Uuid\Rfc4122\FieldsInterface as Rfc4122FieldsInterface;
use Ramsey\Uuid\Rfc4122\UuidInterface as Rfc4122UuidInterface;
use Ramsey\Uuid\Type\Hexadecimal;
use Ramsey\Uuid\Type\Integer as IntegerObject;
use ValueError;
@@ -40,7 +40,7 @@ use function substr;
*
* @psalm-immutable
*/
class Uuid implements UuidInterface
class Uuid implements Rfc4122UuidInterface
{
use DeprecatedUuidMethodsTrait;
@@ -369,7 +369,7 @@ class Uuid implements UuidInterface
return $this->codec->encodeBinary($this);
}
public function getFields(): FieldsInterface
public function getFields(): Rfc4122FieldsInterface
{
return $this->fields;
}