diff --git a/lib/private/ocs.php b/lib/private/ocs.php
index aeb3d259b30c697296bedf7f5d88dedc8d693bff..214b28fa22ca62c617e1841f5c80cad00f60a11d 100644
--- a/lib/private/ocs.php
+++ b/lib/private/ocs.php
@@ -30,7 +30,7 @@
 class OC_OCS {
 
 	/**
-	* reads input date from get/post/cookies and converts the date to a special data-type
+	* reads input data from get/post and converts the date to a special data-type
 	*
 	* @param string $method HTTP method to read the key from
 	* @param string $key Parameter to read
@@ -93,8 +93,8 @@ class OC_OCS {
 	}
 
 	/**
-	* generated some debug information to make it easier to find faild API calls
-	* @return string data string
+	* generated some debug information to make it easier to find failed API calls
+	* @return string data
 	*/
 	private static function getDebugOutput() {
 		$txt='';