mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Improve return type of UuidInterface::compareTo() (#508)
This commit is contained in:
@@ -46,7 +46,7 @@ interface UuidInterface extends
|
||||
*
|
||||
* @param UuidInterface $other The UUID to compare
|
||||
*
|
||||
* @return int -1, 0, or 1 if the UUID is less than, equal to, or greater than $other
|
||||
* @return int<-1,1> -1, 0, or 1 if the UUID is less than, equal to, or greater than $other
|
||||
*/
|
||||
public function compareTo(UuidInterface $other): int;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user