diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-09 23:59:57 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-04-18 16:17:58 +0200 |
commit | a53ec9ebebd9d590eb4f4dd6e555ab3c0b140567 (patch) | |
tree | 8d1d194208c9c0222fa6238030ce8a7a9b8542d3 /lib/private | |
parent | 33bdab1618b4bd2f519a7404baca5343939823cd (diff) | |
download | nextcloud-server-a53ec9ebebd9d590eb4f4dd6e555ab3c0b140567.tar.gz nextcloud-server-a53ec9ebebd9d590eb4f4dd6e555ab3c0b140567.zip |
merge middleware string registration
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/appframework/dependencyinjection/dicontainer.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/appframework/dependencyinjection/dicontainer.php b/lib/private/appframework/dependencyinjection/dicontainer.php index b00d5fd4c45..9c43a703d77 100644 --- a/lib/private/appframework/dependencyinjection/dicontainer.php +++ b/lib/private/appframework/dependencyinjection/dicontainer.php @@ -134,10 +134,10 @@ class DIContainer extends SimpleContainer implements IAppContainer{ } /** - * @param Middleware $middleWare - * @return boolean + * @param string $middleWare + * @return boolean|null */ - function registerMiddleWare(Middleware $middleWare) { + function registerMiddleWare($middleWare) { array_push($this->middleWares, $middleWare); } |