Skip to content

Commit 5cd8af5

Browse files
alamiraultfabpot
authored andcommitted
[CssSelector][Serializer][Translation] [Command] Clean unused code
1 parent bb51d46 commit 5cd8af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XPath/XPathExpr.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function join(string $combiner, self $expr): static
104104
public function __toString(): string
105105
{
106106
$path = $this->path.$this->element;
107-
$condition = null === $this->condition || '' === $this->condition ? '' : '['.$this->condition.']';
107+
$condition = '' === $this->condition ? '' : '['.$this->condition.']';
108108

109109
return $path.$condition;
110110
}

0 commit comments

Comments
 (0)