src/Bridge/Doctrine/Orm/Util/QueryBuilderHelper.php
private static function mapRootAliases(array $rootAliases, array $rootEntities): array
    {
        $aliasMap = array_combine($rootAliases, $rootEntities);
        if (false === $aliasMap) {
            throw new \LogicException('Number of root aliases and root entities do not match.');
        }

        return $aliasMap;
    }
private static function mapRootAliases(array $rootAliases, array $rootEntities): array
    {
        $aliasMap = array_combine($rootAliases, $rootEntities);
        if (false === $aliasMap) {
            throw new \LogicException('Number of root aliases and root entities do not match.');
        }

        return $aliasMap;
    }
private static function mapRootAliases ( array $ rootAliases , array $ rootEntities ) : array { $ aliasMap = array_combine ( $ rootAliases , $ rootEntities ) ; if ( false === $ aliasMap ) { throw new \ LogicException ( 'Number of root aliases and root entities do not match.' ) ; } return $ aliasMap ; }
Maps the root aliases to root entity classes.

@return array<string, string>
Maps the root aliases to root entity classes .