Skip to content

Commit d2ce522

Browse files
fabpotnicolas-grekas
authored andcommitted
fixed CS
1 parent 519a80d commit d2ce522

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Node/Specificity.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct($a, $b, $c)
4848
/**
4949
* @return self
5050
*/
51-
public function plus(Specificity $specificity)
51+
public function plus(self $specificity)
5252
{
5353
return new self($this->a + $specificity->a, $this->b + $specificity->b, $this->c + $specificity->c);
5454
}
@@ -69,7 +69,7 @@ public function getValue()
6969
*
7070
* @return int
7171
*/
72-
public function compareTo(Specificity $specificity)
72+
public function compareTo(self $specificity)
7373
{
7474
if ($this->a !== $specificity->a) {
7575
return $this->a > $specificity->a ? 1 : -1;

XPath/XPathExpr.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ public function getElement()
5353
}
5454

5555
/**
56-
* @param $condition
57-
*
5856
* @return $this
5957
*/
6058
public function addCondition($condition)

0 commit comments

Comments
 (0)