[UID] refer to AbstractUid instead of "parent"

This commit is contained in:
Nyholm 2021-03-21 17:12:13 +01:00
parent bd9e2208a0
commit abe4ee5b56
No known key found for this signature in database
GPG Key ID: D6332DE2B6F8FA38

View File

@ -121,7 +121,7 @@ class Uuid extends AbstractUid
return $this->uid; return $this->uid;
} }
public function compare(parent $other): int public function compare(AbstractUid $other): int
{ {
if (false !== $cmp = uuid_compare($this->uid, $other->uid)) { if (false !== $cmp = uuid_compare($this->uid, $other->uid)) {
return $cmp; return $cmp;