Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/css-selector/XPath/Extension/CombinationExtension.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 |
|---|---|
| 28 /** | 28 /** |
| 29 * {@inheritdoc} | 29 * {@inheritdoc} |
| 30 */ | 30 */ |
| 31 public function getCombinationTranslators() | 31 public function getCombinationTranslators() |
| 32 { | 32 { |
| 33 return array( | 33 return [ |
| 34 ' ' => array($this, 'translateDescendant'), | 34 ' ' => [$this, 'translateDescendant'], |
| 35 '>' => array($this, 'translateChild'), | 35 '>' => [$this, 'translateChild'], |
| 36 '+' => array($this, 'translateDirectAdjacent'), | 36 '+' => [$this, 'translateDirectAdjacent'], |
| 37 '~' => array($this, 'translateIndirectAdjacent'), | 37 '~' => [$this, 'translateIndirectAdjacent'], |
| 38 ); | 38 ]; |
| 39 } | 39 } |
| 40 | 40 |
| 41 /** | 41 /** |
| 42 * @return XPathExpr | 42 * @return XPathExpr |
| 43 */ | 43 */ |
