We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d3dc33 commit e90d19bCopy full SHA for e90d19b
Node/Specificity.php
@@ -53,10 +53,8 @@ public function getValue(): int
53
/**
54
* Returns -1 if the object specificity is lower than the argument,
55
* 0 if they are equal, and 1 if the argument is lower.
56
- *
57
- * @return int
58
*/
59
- public function compareTo(self $specificity)
+ public function compareTo(self $specificity): int
60
{
61
if ($this->a !== $specificity->a) {
62
return $this->a > $specificity->a ? 1 : -1;
0 commit comments