source/Core/Theme.php
public function getParent()
    {
        $sParent = $this->getInfo('parentTheme');
        if (!$sParent) {
            return null;
        }
        $oTheme = oxNew(\OxidEsales\Eshop\Core\Theme::class);
        if ($oTheme->load($sParent)) {
            return $oTheme;
        }

        return null;
    }
public function getParent()
    {
        $sParent = $this->getInfo('parentTheme');
        if (!$sParent) {
            return null;
        }
        $oTheme = oxNew(\OxidEsales\Eshop\Core\Theme::class);
        if ($oTheme->load($sParent)) {
            return $oTheme;
        }

        return null;
    }
public function getParent ( ) { $ sParent = $ this -> getInfo ( 'parentTheme' ) ; if ( ! $ sParent ) { return null ; } $ oTheme = oxNew ( \ OxidEsales \ Eshop \ Core \ Theme :: class ) ; if ( $ oTheme -> load ( $ sParent ) ) { return $ oTheme ; } return null ; }
Return loaded parent

@return \OxidEsales\Eshop\Core\Theme
Return loaded parent