Improve return type of UuidInterface::compareTo() (#508)

This commit is contained in:
Jáchym Toušek
2023-11-08 06:38:32 +01:00
committed by GitHub
parent 00945e11a4
commit 9308b6a600
+1 -1
View File
@@ -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;