diff options
Diffstat (limited to 'lib/public/appframework')
-rw-r--r-- | lib/public/appframework/apicontroller.php | 4 | ||||
-rw-r--r-- | lib/public/appframework/http/ioutput.php | 2 | ||||
-rw-r--r-- | lib/public/appframework/middleware.php | 2 | ||||
-rw-r--r-- | lib/public/appframework/ocscontroller.php | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/public/appframework/apicontroller.php b/lib/public/appframework/apicontroller.php index 64e07539de4..07b72d9a46c 100644 --- a/lib/public/appframework/apicontroller.php +++ b/lib/public/appframework/apicontroller.php @@ -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 separated 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 separated 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 diff --git a/lib/public/appframework/http/ioutput.php b/lib/public/appframework/http/ioutput.php index f4ebc304bde..6c404c0b026 100644 --- a/lib/public/appframework/http/ioutput.php +++ b/lib/public/appframework/http/ioutput.php @@ -39,7 +39,7 @@ interface IOutput { /** * @param string $path * - * @return bool false if an error occured + * @return bool false if an error occurred * @since 8.1.0 */ public function setReadfile($path); diff --git a/lib/public/appframework/middleware.php b/lib/public/appframework/middleware.php index a39e26a2aa0..12ec5f7d573 100644 --- a/lib/public/appframework/middleware.php +++ b/lib/public/appframework/middleware.php @@ -67,7 +67,7 @@ abstract class Middleware { * @param string $methodName the name of the method that will be called on * the controller * @param \Exception $exception the thrown exception - * @throws \Exception the passed in exception if it cant handle it + * @throws \Exception the passed in exception if it can't handle it * @return Response a Response object in case that the exception was handled * @since 6.0.0 */ diff --git a/lib/public/appframework/ocscontroller.php b/lib/public/appframework/ocscontroller.php index b0e77c5d1ec..4736e94326e 100644 --- a/lib/public/appframework/ocscontroller.php +++ b/lib/public/appframework/ocscontroller.php @@ -46,7 +46,7 @@ abstract class OCSController extends ApiController { * @param string $corsMethods comma separated 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 separated 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 |