Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/css-selector/XPath/Extension/NodeExtension.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
| author | Chris Cannam |
|---|---|
| date | Thu, 28 Feb 2019 13:21:36 +0000 |
| parents | 1fec387a4317 |
| children |
comparison
equal
deleted
inserted
replaced
| 16:c2387f117808 | 17:129ea1e6d783 |
|---|---|
| 73 /** | 73 /** |
| 74 * {@inheritdoc} | 74 * {@inheritdoc} |
| 75 */ | 75 */ |
| 76 public function getNodeTranslators() | 76 public function getNodeTranslators() |
| 77 { | 77 { |
| 78 return array( | 78 return [ |
| 79 'Selector' => array($this, 'translateSelector'), | 79 'Selector' => [$this, 'translateSelector'], |
| 80 'CombinedSelector' => array($this, 'translateCombinedSelector'), | 80 'CombinedSelector' => [$this, 'translateCombinedSelector'], |
| 81 'Negation' => array($this, 'translateNegation'), | 81 'Negation' => [$this, 'translateNegation'], |
| 82 'Function' => array($this, 'translateFunction'), | 82 'Function' => [$this, 'translateFunction'], |
| 83 'Pseudo' => array($this, 'translatePseudo'), | 83 'Pseudo' => [$this, 'translatePseudo'], |
| 84 'Attribute' => array($this, 'translateAttribute'), | 84 'Attribute' => [$this, 'translateAttribute'], |
| 85 'Class' => array($this, 'translateClass'), | 85 'Class' => [$this, 'translateClass'], |
| 86 'Hash' => array($this, 'translateHash'), | 86 'Hash' => [$this, 'translateHash'], |
| 87 'Element' => array($this, 'translateElement'), | 87 'Element' => [$this, 'translateElement'], |
| 88 ); | 88 ]; |
| 89 } | 89 } |
| 90 | 90 |
| 91 /** | 91 /** |
| 92 * @return XPathExpr | 92 * @return XPathExpr |
| 93 */ | 93 */ |
