Skip to content

Commit

Permalink
Improve return type of UuidInterface::compareTo() (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Nov 8, 2023
1 parent 00945e1 commit 9308b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UuidInterface.php
Expand Up @@ -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;

Expand Down

0 comments on commit 9308b6a

Please sign in to comment.