From abe4ee5b56a0387babf1dea8466fb0979291d5c2 Mon Sep 17 00:00:00 2001 From: Nyholm Date: Sun, 21 Mar 2021 17:12:13 +0100 Subject: [PATCH] [UID] refer to AbstractUid instead of "parent" --- src/Symfony/Component/Uid/Uuid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Uid/Uuid.php b/src/Symfony/Component/Uid/Uuid.php index 0a1327eedd..4ed48b5735 100644 --- a/src/Symfony/Component/Uid/Uuid.php +++ b/src/Symfony/Component/Uid/Uuid.php @@ -121,7 +121,7 @@ class Uuid extends AbstractUid return $this->uid; } - public function compare(parent $other): int + public function compare(AbstractUid $other): int { if (false !== $cmp = uuid_compare($this->uid, $other->uid)) { return $cmp;