https://github.com/magento/magento2/blob/2.0.0/lib/internal/Magento/Framework/App/Config.php#L32-L46
Should be:
@param null|string|int|ScopeInterface $scopeCode [optional]
because $scopeCode can be also int or \Magento\Framework\App\ScopeInterface: