Skip to content

Commit 7be7e43

Browse files
Add more nullsafe operators
1 parent 235e1bb commit 7be7e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CssSelectorConverter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ public function __construct(bool $html = true)
6262
*/
6363
public function toXPath(string $cssExpr, string $prefix = 'descendant-or-self::'): string
6464
{
65-
return $this->cache[$prefix][$cssExpr] ?? $this->cache[$prefix][$cssExpr] = $this->translator->cssToXPath($cssExpr, $prefix);
65+
return $this->cache[$prefix][$cssExpr] ??= $this->translator->cssToXPath($cssExpr, $prefix);
6666
}
6767
}

0 commit comments

Comments
 (0)