File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public function getElement(): string
46
46
/**
47
47
* @return $this
48
48
*/
49
- public function addCondition (string $ condition ): self
49
+ public function addCondition (string $ condition ): static
50
50
{
51
51
$ this ->condition = $ this ->condition ? sprintf ('(%s) and (%s) ' , $ this ->condition , $ condition ) : $ condition ;
52
52
@@ -61,7 +61,7 @@ public function getCondition(): string
61
61
/**
62
62
* @return $this
63
63
*/
64
- public function addNameTest (): self
64
+ public function addNameTest (): static
65
65
{
66
66
if ('* ' !== $ this ->element ) {
67
67
$ this ->addCondition ('name() = ' .Translator::getXpathLiteral ($ this ->element ));
@@ -74,7 +74,7 @@ public function addNameTest(): self
74
74
/**
75
75
* @return $this
76
76
*/
77
- public function addStarPrefix (): self
77
+ public function addStarPrefix (): static
78
78
{
79
79
$ this ->path .= '*/ ' ;
80
80
You can’t perform that action at this time.
0 commit comments