[TASK] Use fully qualified name resolution in PHP 5.5
[Packages/TYPO3.CMS.git] / typo3 / sysext / about / Classes / Domain / Repository / ExtensionRepository.php
index e7a5351..35cd8f4 100644 (file)
@@ -36,14 +36,14 @@ class ExtensionRepository extends \TYPO3\CMS\Extbase\Persistence\Repository {
         * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\About\Domain\Model\Extension>
         */
        public function findAllLoaded() {
-               $loadedExtensions = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage');
+               $loadedExtensions = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\ObjectStorage::class);
                $loadedExtensionsArray = $GLOBALS['TYPO3_LOADED_EXT'];
                foreach ($loadedExtensionsArray as $extensionKey => $extension) {
                        if ((is_array($extension) || $extension instanceof \ArrayAccess) && $extension['type'] != 'S') {
                                $emconfPath = PATH_site . $extension['siteRelPath'] . 'ext_emconf.php';
                                if (file_exists($emconfPath)) {
                                        include $emconfPath;
-                                       $extension = $this->objectManager->get('TYPO3\\CMS\\About\\Domain\\Model\\Extension');
+                                       $extension = $this->objectManager->get(\TYPO3\CMS\About\Domain\Model\Extension::class);
                                        $extension->setKey($extensionKey);
                                        $extension->setTitle($EM_CONF['']['title']);
                                        $extension->setAuthor($EM_CONF['']['author']);