aboutsummaryrefslogtreecommitdiffstats
path: root/lib/appframework/app.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-21 01:02:15 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-21 01:02:15 +0200
commit38f9df429397619482e3e3f7ffb0db5274222e4c (patch)
tree43d47acc7c86ea903daa84a8d8840f99dcc6d398 /lib/appframework/app.php
parent911bd3c16f508eb8f3cb9b03a5a21e2aa72ebf79 (diff)
downloadnextcloud-server-38f9df429397619482e3e3f7ffb0db5274222e4c.tar.gz
nextcloud-server-38f9df429397619482e3e3f7ffb0db5274222e4c.zip
introducing OCP\AppFramework\App
Diffstat (limited to 'lib/appframework/app.php')
-rw-r--r--lib/appframework/app.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/appframework/app.php b/lib/appframework/app.php
index 6224b858bbf..7ff55bb809d 100644
--- a/lib/appframework/app.php
+++ b/lib/appframework/app.php
@@ -25,6 +25,7 @@
namespace OC\AppFramework;
use OC\AppFramework\DependencyInjection\DIContainer;
+use OCP\AppFramework\IAppContainer;
/**
@@ -45,7 +46,7 @@ class App {
* @param DIContainer $container an instance of a pimple container.
*/
public static function main($controllerName, $methodName, array $urlParams,
- DIContainer $container) {
+ IAppContainer $container) {
$container['urlParams'] = $urlParams;
$controller = $container[$controllerName];