Mercurial > hg > cmmr2012-drupal-site
comparison vendor/symfony/translation/Dumper/QtFileDumper.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
21 class QtFileDumper extends FileDumper | 21 class QtFileDumper extends FileDumper |
22 { | 22 { |
23 /** | 23 /** |
24 * {@inheritdoc} | 24 * {@inheritdoc} |
25 */ | 25 */ |
26 public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) | 26 public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = []) |
27 { | 27 { |
28 $dom = new \DOMDocument('1.0', 'utf-8'); | 28 $dom = new \DOMDocument('1.0', 'utf-8'); |
29 $dom->formatOutput = true; | 29 $dom->formatOutput = true; |
30 $ts = $dom->appendChild($dom->createElement('TS')); | 30 $ts = $dom->appendChild($dom->createElement('TS')); |
31 $context = $ts->appendChild($dom->createElement('context')); | 31 $context = $ts->appendChild($dom->createElement('context')); |