[TASK] Make Flow Package HHVM compatible
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Resources / PHP / TYPO3.Flow / Classes / TYPO3 / Flow / Package / Package.php
index e293a48..6a637e2 100644 (file)
@@ -214,7 +214,7 @@ class Package implements PackageInterface {
                if (!$this->namespace) {
                        $manifest = $this->getComposerManifest();
                        if (isset($manifest->autoload->{'psr-0'})) {
-                               $namespaces = $manifest->autoload->{'psr-0'};
+                               $namespaces = (array)$manifest->autoload->{'psr-0'};
                                if (count($namespaces) === 1) {
                                        $namespace = key($namespaces);
                                } else {