updated packages
This commit is contained in:
16
vendor/symfony/css-selector/XPath/Translator.php
vendored
16
vendor/symfony/css-selector/XPath/Translator.php
vendored
@@ -35,18 +35,18 @@ class Translator implements TranslatorInterface
|
||||
/**
|
||||
* @var ParserInterface[]
|
||||
*/
|
||||
private $shortcutParsers = array();
|
||||
private $shortcutParsers = [];
|
||||
|
||||
/**
|
||||
* @var Extension\ExtensionInterface[]
|
||||
*/
|
||||
private $extensions = array();
|
||||
private $extensions = [];
|
||||
|
||||
private $nodeTranslators = array();
|
||||
private $combinationTranslators = array();
|
||||
private $functionTranslators = array();
|
||||
private $pseudoClassTranslators = array();
|
||||
private $attributeMatchingTranslators = array();
|
||||
private $nodeTranslators = [];
|
||||
private $combinationTranslators = [];
|
||||
private $functionTranslators = [];
|
||||
private $pseudoClassTranslators = [];
|
||||
private $attributeMatchingTranslators = [];
|
||||
|
||||
public function __construct(ParserInterface $parser = null)
|
||||
{
|
||||
@@ -72,7 +72,7 @@ class Translator implements TranslatorInterface
|
||||
}
|
||||
|
||||
$string = $element;
|
||||
$parts = array();
|
||||
$parts = [];
|
||||
while (true) {
|
||||
if (false !== $pos = strpos($string, "'")) {
|
||||
$parts[] = sprintf("'%s'", substr($string, 0, $pos));
|
||||
|
||||
Reference in New Issue
Block a user