Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/css-selector/XPath/Translator.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/vendor/symfony/css-selector/XPath/Translator.php Mon Apr 23 09:33:26 2018 +0100 +++ b/vendor/symfony/css-selector/XPath/Translator.php Mon Apr 23 09:46:53 2018 +0100 @@ -30,9 +30,6 @@ */ class Translator implements TranslatorInterface { - /** - * @var ParserInterface - */ private $mainParser; /** @@ -41,33 +38,14 @@ private $shortcutParsers = array(); /** - * @var Extension\ExtensionInterface + * @var Extension\ExtensionInterface[] */ private $extensions = array(); - /** - * @var array - */ private $nodeTranslators = array(); - - /** - * @var array - */ private $combinationTranslators = array(); - - /** - * @var array - */ private $functionTranslators = array(); - - /** - * @var array - */ private $pseudoClassTranslators = array(); - - /** - * @var array - */ private $attributeMatchingTranslators = array(); public function __construct(ParserInterface $parser = null) @@ -144,8 +122,6 @@ /** * Registers an extension. * - * @param Extension\ExtensionInterface $extension - * * @return $this */ public function registerExtension(Extension\ExtensionInterface $extension) @@ -180,8 +156,6 @@ /** * Registers a shortcut parser. * - * @param ParserInterface $shortcut - * * @return $this */ public function registerParserShortcut(ParserInterface $shortcut) @@ -192,8 +166,6 @@ } /** - * @param NodeInterface $node - * * @return XPathExpr * * @throws ExpressionErrorException @@ -226,9 +198,6 @@ } /** - * @param XPathExpr $xpath - * @param FunctionNode $function - * * @return XPathExpr * * @throws ExpressionErrorException