Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-06-01 23:46:05 +0400
committerLukas Reschke <lukas@statuscode.ch>2014-06-01 23:46:05 +0400
commitc8b5ae675c2a59485997228c62523cbb110215ef (patch)
tree6567d6b4056cc8894312b3cfb87384494e0bf53c /lib/public
parent36b0c599f5acb9c9c4b718a416051098077fbe46 (diff)
Fix PHPDoc
- Remove not anymore existing parameters - Fix typo
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/appframework/controller.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/public/appframework/controller.php b/lib/public/appframework/controller.php
index 50b5ed3a80d..96ab5e75e82 100644
--- a/lib/public/appframework/controller.php
+++ b/lib/public/appframework/controller.php
@@ -57,14 +57,6 @@ abstract class Controller {
* constructor of the controller
* @param string $appName the name of the app
* @param IRequest $request an instance of the request
- * @param string $corsMethods: comma seperated string of HTTP verbs which
- * should be allowed for websites or webapps when calling your API, defaults to
- * 'PUT, POST, GET, DELETE, PATCH'
- * @param string $corsAllowedHeaders: comma seperated string of HTTP headers
- * which should be allowed for websites or webapps when calling your API,
- * defaults to 'Authorization, Content-Type, Accept'
- * @param int $corsMaxAge number in seconds how long a preflighted OPTIONS
- * request should be cached, defaults to 1728000 seconds
*/
public function __construct($appName,
IRequest $request){
@@ -146,7 +138,7 @@ abstract class Controller {
/**
* Returns all params that were received, be it from the request
- * (as GET or POST) or throuh the URL by the route
+ * (as GET or POST) or through the URL by the route
* @deprecated use $this->request instead
* @return array the array with all parameters
*/