| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Modules\Translation\Exporters; |
||
| 43 | private function formatData() |
||
| 44 | { |
||
| 45 | $translations = $this->translations->getFileAndDatabaseMergedTranslations(); |
||
| 46 | $translations = $translations->all(); |
||
| 47 | |||
| 48 | $data = []; |
||
| 49 | foreach ($translations as $key => $translation) { |
||
| 50 | $data[] = array_merge(['key' => $key], $translation); |
||
| 51 | } |
||
| 52 | |||
| 53 | return $data; |
||
| 54 | } |
||
| 55 | } |
||
| 56 |