Add type hint for OC_Channel

This commit is contained in:
Victor Dubiniuk 2015-05-27 17:42:24 +03:00
parent 3de945d13d
commit 4239054383
1 changed files with 1 additions and 0 deletions

View File

@ -393,6 +393,7 @@ class OC_Util {
if (\OC::$server->getSystemConfig()->getValue('installed', false)) {
$channel = \OC::$server->getAppConfig()->getValue('core', 'OC_Channel');
} else {
/** @var $OC_Channel string */
$channel = $OC_Channel;
}