diff options
author | Stefan Weil <sw@weilnetz.de> | 2016-04-07 19:51:27 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2016-04-07 19:51:27 +0200 |
commit | b1a856d7b7e184241fcd862842d4aecddd9a00ec (patch) | |
tree | dad8a4f1c34e1c97ead9cd50a7c2f44469cb536e /lib/public | |
parent | 6eefea1bb65897b0a1cf8668b15998a12ae197b9 (diff) | |
download | nextcloud-server-b1a856d7b7e184241fcd862842d4aecddd9a00ec.tar.gz nextcloud-server-b1a856d7b7e184241fcd862842d4aecddd9a00ec.zip |
lib: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'lib/public')
-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 | ||||
-rw-r--r-- | lib/public/files.php | 2 | ||||
-rw-r--r-- | lib/public/response.php | 4 | ||||
-rw-r--r-- | lib/public/share.php | 2 |
7 files changed, 9 insertions, 9 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 diff --git a/lib/public/files.php b/lib/public/files.php index f1b8a855194..f7f0b30bf86 100644 --- a/lib/public/files.php +++ b/lib/public/files.php @@ -123,7 +123,7 @@ class Files { /** * Gets the Storage for an app - creates the needed folder if they are not - * existant + * existent * @param string $app * @return \OC\Files\View * @since 5.0.0 diff --git a/lib/public/response.php b/lib/public/response.php index ff0b4d8463a..a2a7667684a 100644 --- a/lib/public/response.php +++ b/lib/public/response.php @@ -47,7 +47,7 @@ class Response { * @param int $cache_time time to cache the response * >0 cache time in seconds * 0 and <0 enable default browser caching - * null cache indefinitly + * null cache indefinitely * @since 4.0.0 */ static public function enableCaching( $cache_time = null ) { @@ -57,7 +57,7 @@ class Response { /** * Checks and set Last-Modified header, when the request matches sends a * 'not modified' response - * @param string $lastModified time when the reponse was last modified + * @param string $lastModified time when the response was last modified * @since 4.0.0 */ static public function setLastModifiedHeader( $lastModified ) { diff --git a/lib/public/share.php b/lib/public/share.php index e21d82bf62c..9c62ec703e4 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -260,7 +260,7 @@ class Share extends \OC\Share\Constants { * @return bool|string Returns true on success or false on failure, Returns token on success for links * @throws \OC\HintException when the share type is remote and the shareWith is invalid * @throws \Exception - * @since 5.0.0 - parameter $itemSourceName was added in 6.0.0, parameter $expirationDate was added in 7.0.0, paramter $passwordChanged added in 9.0.0 + * @since 5.0.0 - parameter $itemSourceName was added in 6.0.0, parameter $expirationDate was added in 7.0.0, parameter $passwordChanged added in 9.0.0 */ public static function shareItem($itemType, $itemSource, $shareType, $shareWith, $permissions, $itemSourceName = null, \DateTime $expirationDate = null, $passwordChanged = null) { return \OC\Share\Share::shareItem($itemType, $itemSource, $shareType, $shareWith, $permissions, $itemSourceName, $expirationDate, $passwordChanged); |