summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-09-02 16:49:34 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-12-08 15:20:54 +0100
commit7c45eaa70bf8113b56bdc01abe89735fe8107856 (patch)
tree7e2831d9552de4e11df5661b93e2ced04d949d5f
parent0dd111ca2efeb0752bdacb3890b843d9d0a62165 (diff)
downloadnextcloud-server-7c45eaa70bf8113b56bdc01abe89735fe8107856.tar.gz
nextcloud-server-7c45eaa70bf8113b56bdc01abe89735fe8107856.zip
Add type description
Allows IDEs and static code analyzers. Would have saved me some minutes today :)
-rw-r--r--lib/private/appframework/app.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/appframework/app.php b/lib/private/appframework/app.php
index 0188d221be1..5cad32bbd09 100644
--- a/lib/private/appframework/app.php
+++ b/lib/private/appframework/app.php
@@ -26,6 +26,7 @@
namespace OC\AppFramework;
+use OC\AppFramework\Http\Dispatcher;
use OC_App;
use OC\AppFramework\DependencyInjection\DIContainer;
use OCP\AppFramework\QueryException;
@@ -97,6 +98,7 @@ class App {
}
// initialize the dispatcher and run all the middleware before the controller
+ /** @var Dispatcher $dispatcher */
$dispatcher = $container['Dispatcher'];
list(