Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Exception

SyntaxErrorException::pseudoElementFoundpublic staticWC 1.0

Method of the class: SyntaxErrorException{}

No Hooks.

Returns

self.

Usage

$result = SyntaxErrorException::pseudoElementFound( $pseudoElement, $unexpectedLocation );
$pseudoElement(string) (required)
.
$unexpectedLocation(string) (required)
.

SyntaxErrorException::pseudoElementFound() code WC 11.0.1

public static function pseudoElementFound(string $pseudoElement, string $unexpectedLocation)
{
    return new self(sprintf('Unexpected pseudo-element "::%s" found %s.', $pseudoElement, $unexpectedLocation));
}