summaryrefslogtreecommitdiffstats
path: root/lib/private/route/router.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2014-04-15 22:55:20 +0200
committerBart Visscher <bartv@thisnet.nl>2014-04-15 22:55:20 +0200
commita4b7f5155fbd0c66fa418199305fccd5c2e7bb31 (patch)
tree3f1be6a3fd81387d47b5966ec0fd1c8d07aa48c1 /lib/private/route/router.php
parentd826f33fae85e8ad68bd5d7b2b3a10cdeddf8827 (diff)
downloadnextcloud-server-a4b7f5155fbd0c66fa418199305fccd5c2e7bb31.tar.gz
nextcloud-server-a4b7f5155fbd0c66fa418199305fccd5c2e7bb31.zip
Fix PHPdoc in lib/private
using scrutinizer patch
Diffstat (limited to 'lib/private/route/router.php')
-rw-r--r--lib/private/route/router.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/route/router.php b/lib/private/route/router.php
index fa0ad6ab95b..f7900362bec 100644
--- a/lib/private/route/router.php
+++ b/lib/private/route/router.php
@@ -81,6 +81,9 @@ class Router implements IRouter {
return $this->routingFiles;
}
+ /**
+ * @return string
+ */
public function getCacheKey() {
if (!isset($this->cacheKey)) {
$files = $this->getRoutingFiles();
@@ -94,6 +97,7 @@ class Router implements IRouter {
/**
* loads the api routes
+ * @return void
*/
public function loadRoutes($app = null) {
if ($this->loaded) {
@@ -152,6 +156,7 @@ class Router implements IRouter {
* Sets the collection to use for adding routes
*
* @param string $name Name of the collection to use.
+ * @return void
*/
public function useCollection($name) {
$this->collection = $this->getCollection($name);
@@ -177,6 +182,7 @@ class Router implements IRouter {
*
* @param string $url The url to find
* @throws \Exception
+ * @return void
*/
public function match($url) {
if (substr($url, 0, 6) === '/apps/') {
@@ -207,6 +213,7 @@ class Router implements IRouter {
/**
* Get the url generator
+ * @return \Symfony\Component\Routing\Generator\UrlGenerator
*
*/
public function getGenerator() {