]> source.dussan.org Git - nextcloud-server.git/commitdiff
PHPDoc added
authorThomas Müller <thomas.mueller@tmit.eu>
Sun, 6 Oct 2013 22:32:08 +0000 (00:32 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Sun, 6 Oct 2013 22:32:08 +0000 (00:32 +0200)
lib/base.php

index 42182c21fb04950ee7bc8a29e8728c30edb9bb38..bf2c51f0ad3435344f9620ea12e1bcfdfd7f90c2 100644 (file)
@@ -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();