]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix wrong variable names in PHPDoc
authorMorris Jobke <hey@morrisjobke.de>
Sat, 18 Apr 2015 12:31:28 +0000 (14:31 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Sat, 18 Apr 2015 12:31:28 +0000 (14:31 +0200)
lib/public/appframework/apicontroller.php
lib/public/appframework/ocscontroller.php

index 0af37f3a6162ad75e071f6e5af655bfe8fa38f1a..90eea47d73037741e6de8c4c7500b34496f38d8a 100644 (file)
@@ -45,10 +45,10 @@ abstract class ApiController extends 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
+     * @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
+     * @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
index 93077586f43d09d755f1e2303aef8cf4a7452c4b..602731fe761d1305eb67c0c2fc983ac0bec50caa 100644 (file)
@@ -42,10 +42,10 @@ abstract class OCSController extends ApiController {
         * 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
+        * @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
+        * @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