@@ -137,6 +137,7 @@ |
||
137 | 137 | * |
138 | 138 | * @param MessageCatalogue $catalogue |
139 | 139 | * @param string $domain |
140 | + * @param string $locale |
|
140 | 141 | */ |
141 | 142 | private function writeCatalogue(MessageCatalogue $catalogue, $locale, $domain) |
142 | 143 | { |
@@ -132,6 +132,9 @@ |
||
132 | 132 | return $dom; |
133 | 133 | } |
134 | 134 | |
135 | + /** |
|
136 | + * @param boolean $internalErrors |
|
137 | + */ |
|
135 | 138 | private function getXmlErrors($internalErrors) |
136 | 139 | { |
137 | 140 | $errors = []; |
@@ -73,6 +73,9 @@ discard block |
||
73 | 73 | return 'xlf'; |
74 | 74 | } |
75 | 75 | |
76 | + /** |
|
77 | + * @param string $domain |
|
78 | + */ |
|
76 | 79 | private function dumpXliff1($defaultLocale, MessageCatalogue $messages, $domain, array $options = []) |
77 | 80 | { |
78 | 81 | $toolInfo = ['tool-id' => 'symfony', 'tool-name' => 'Symfony']; |
@@ -152,6 +155,9 @@ discard block |
||
152 | 155 | return $dom->saveXML(); |
153 | 156 | } |
154 | 157 | |
158 | + /** |
|
159 | + * @param string $domain |
|
160 | + */ |
|
155 | 161 | private function dumpXliff2($defaultLocale, MessageCatalogue $messages, $domain, array $options = []) |
156 | 162 | { |
157 | 163 | $dom = new \DOMDocument('1.0', 'utf-8'); |