Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SyntaxErrorException.php

function SyntaxErrorException::unclosedString

1 call to SyntaxErrorException::unclosedString()
StringHandler::handle in vendor/symfony/css-selector/Parser/Handler/StringHandler.php

File

vendor/symfony/css-selector/Exception/SyntaxErrorException.php, line 36

Class

SyntaxErrorException
ParseException is thrown when a CSS selector syntax is not valid.

Namespace

Symfony\Component\CssSelector\Exception

Code

public static function unclosedString(int $position) : self {
    return new self(\sprintf('Unclosed/invalid string at %s.', $position));
}
RSS feed
Powered by Drupal