diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-02-19 07:04:37 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-02-19 07:04:37 +0100 |
commit | 1e321406ee2d973e937637ab090cbd83a6eb40cf (patch) | |
tree | 78eca74636ab68b3f52ebac9c013c55a1526bd43 /lib/private/appframework/middleware | |
parent | 635b8f6b83ae37ac262c5f7a0bd40697824b9b67 (diff) | |
parent | c6f4f85e27a10459422ab9789c894d13f0cd34c7 (diff) | |
download | nextcloud-server-1e321406ee2d973e937637ab090cbd83a6eb40cf.tar.gz nextcloud-server-1e321406ee2d973e937637ab090cbd83a6eb40cf.zip |
Merge pull request #7114 from owncloud/scrutinizer_documentation_patches
polish documentation based on scrutinizer patches
Diffstat (limited to 'lib/private/appframework/middleware')
-rw-r--r-- | lib/private/appframework/middleware/middlewaredispatcher.php | 2 | ||||
-rw-r--r-- | lib/private/appframework/middleware/security/securityexception.php | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/appframework/middleware/middlewaredispatcher.php b/lib/private/appframework/middleware/middlewaredispatcher.php index 681140c2242..598743e523f 100644 --- a/lib/private/appframework/middleware/middlewaredispatcher.php +++ b/lib/private/appframework/middleware/middlewaredispatcher.php @@ -56,7 +56,7 @@ class MiddlewareDispatcher { /** * Adds a new middleware - * @param Middleware $middleware the middleware which will be added + * @param Middleware $middleWare the middleware which will be added */ public function registerMiddleware(Middleware $middleWare){ array_push($this->middlewares, $middleWare); diff --git a/lib/private/appframework/middleware/security/securityexception.php b/lib/private/appframework/middleware/security/securityexception.php index b32a2769ff5..e551675acdf 100644 --- a/lib/private/appframework/middleware/security/securityexception.php +++ b/lib/private/appframework/middleware/security/securityexception.php @@ -32,7 +32,6 @@ class SecurityException extends \Exception { /** * @param string $msg the security error message - * @param bool $ajax true if it resulted because of an ajax request */ public function __construct($msg, $code = 0) { parent::__construct($msg, $code); |