Merge pull request #16592 from owncloud/fix-16574
Add type hint for OC_Channel
This commit is contained in:
commit
7f83829db3
|
@ -393,6 +393,7 @@ class OC_Util {
|
||||||
if (\OC::$server->getSystemConfig()->getValue('installed', false)) {
|
if (\OC::$server->getSystemConfig()->getValue('installed', false)) {
|
||||||
$channel = \OC::$server->getAppConfig()->getValue('core', 'OC_Channel');
|
$channel = \OC::$server->getAppConfig()->getValue('core', 'OC_Channel');
|
||||||
} else {
|
} else {
|
||||||
|
/** @var $OC_Channel string */
|
||||||
$channel = $OC_Channel;
|
$channel = $OC_Channel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue