From 42ed81097abdf8f5b6e0ece3cedc3df3c6bd1716 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Sun, 31 Jul 2016 20:13:21 +0200 Subject: [PATCH] fix/add php doc --- appinfo/application.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/appinfo/application.php b/appinfo/application.php index de9ae796..1a3e3398 100644 --- a/appinfo/application.php +++ b/appinfo/application.php @@ -16,6 +16,7 @@ namespace OCA\Bookmarks\AppInfo; use \OCP\AppFramework\App; +use \OCP\IContainer; use \OCA\Bookmarks\Controller\WebViewController; use OCA\Bookmarks\Controller\Rest\TagsController; use OCA\Bookmarks\Controller\Rest\BookmarkController; @@ -30,10 +31,10 @@ class Application extends App { /** * Controllers - * @param OC\AppFramework\Utility\SimpleContainer $c The Container instance - * that handles the request + * @param IContainer $c The Container instance that handles the request */ $container->registerService('WebViewController', function($c) { + /** @var IContainer $c */ return new WebViewController( $c->query('AppName'), $c->query('Request'), @@ -44,6 +45,7 @@ class Application extends App { }); $container->registerService('BookmarkController', function($c) { + /** @var IContainer $c */ return new BookmarkController( $c->query('AppName'), $c->query('Request'), @@ -53,6 +55,7 @@ class Application extends App { }); $container->registerService('TagsController', function($c) { + /** @var IContainer $c */ return new TagsController( $c->query('AppName'), $c->query('Request'), @@ -62,6 +65,7 @@ class Application extends App { }); $container->registerService('PublicController', function($c) { + /** @var IContainer $c */ return new PublicController( $c->query('AppName'), $c->query('Request'),