[TASK] EXT:lang CodeCleanup
[Packages/TYPO3.CMS.git] / typo3 / sysext / lang / Classes / View / Language / GetTranslationsJson.php
index a031e10..d88bd60 100644 (file)
@@ -29,12 +29,14 @@ class GetTranslationsJson extends \TYPO3\CMS\Lang\View\AbstractJsonView
         $data = array();
         $languages = $this->variables['languages'];
         foreach ($this->variables['extensions'] as $extension) {
+            /** @var $extension \TYPO3\CMS\Lang\Domain\Model\Extension */
             $extensionArray = $extension->toArray();
             $row = array(
                 $extensionArray,
                 $extensionArray,
             );
             foreach ($languages as $language) {
+                /** @var $language \TYPO3\CMS\Lang\Domain\Model\Language */
                 $row[] = $language->toArray();
             }
             $data[] = $row;