Should be:
@param null|string|int|\Magento\Framework\App\ScopeInterface $scopeCode [optional]
Also please note that \Magento\Framework\DataObject
part in the type is wrong because in this case the result of the method will be equal to $scopeCode
, but the method should return a string, not \Magento\Framework\DataObject
.