From: Thomas Müller Date: Sun, 6 Oct 2013 22:32:08 +0000 (+0200) Subject: PHPDoc added X-Git-Tag: v6.0.0beta2~103^2~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fda37ea09c68bfefe31ee1a6d28d6fc09e38a151;p=nextcloud-server.git PHPDoc added --- diff --git a/lib/base.php b/lib/base.php index 42182c21fb0..bf2c51f0ad3 100644 --- a/lib/base.php +++ b/lib/base.php @@ -69,8 +69,9 @@ class OC { * check if owncloud runs in cli mode */ public static $CLI = false; - /* - * OC router + + /** + * @var OC_Router */ protected static $router = null; @@ -344,6 +345,9 @@ class OC { return OC_Config::getValue('session_lifetime', 60 * 60 * 24); } + /** + * @return OC_Router + */ public static function getRouter() { if (!isset(OC::$router)) { OC::$router = new OC_Router();