We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 235e1bb commit 7be7e43Copy full SHA for 7be7e43
CssSelectorConverter.php
@@ -62,6 +62,6 @@ public function __construct(bool $html = true)
62
*/
63
public function toXPath(string $cssExpr, string $prefix = 'descendant-or-self::'): string
64
{
65
- return $this->cache[$prefix][$cssExpr] ?? $this->cache[$prefix][$cssExpr] = $this->translator->cssToXPath($cssExpr, $prefix);
+ return $this->cache[$prefix][$cssExpr] ??= $this->translator->cssToXPath($cssExpr, $prefix);
66
}
67
0 commit comments