diff --git a/lib/private/setup/abstractdatabase.php b/lib/private/setup/abstractdatabase.php
index 0beada7bd299d2151e24842e2ad271f6c867a4d3..84625a217ee974968479c13feb6c54fb027d4812 100644
--- a/lib/private/setup/abstractdatabase.php
+++ b/lib/private/setup/abstractdatabase.php
@@ -3,6 +3,10 @@
 namespace OC\Setup;
 
 abstract class AbstractDatabase {
+
+	/**
+	 * @var \OC_L10N
+	 */
 	protected $trans;
 	protected $dbDefinitionFile;
 	protected $dbuser;
diff --git a/lib/private/setup/oci.php b/lib/private/setup/oci.php
index a19206ecf3d55ad36744b4dd437cacf27008315f..24863b9e38a23238fc99bccd614010953854512e 100644
--- a/lib/private/setup/oci.php
+++ b/lib/private/setup/oci.php
@@ -68,7 +68,7 @@ class OCI extends AbstractDatabase {
 			$this->dbpassword=\OC_Util::generateRandomBytes(30);
 
 			//oracle passwords are treated as identifiers:
-			//  must start with aphanumeric char
+			//  must start with alphanumeric char
 			//  needs to be shortened to 30 bytes, as the two " needed to escape the identifier count towards the identifier length.
 			$this->dbpassword=substr($this->dbpassword, 0, 30);
 
@@ -78,7 +78,7 @@ class OCI extends AbstractDatabase {
 			\OC_Config::setValue('dbname', $this->dbuser);
 			\OC_Config::setValue('dbpassword', $this->dbpassword);
 
-			//create the database not neccessary, oracle implies user = schema
+			//create the database not necessary, oracle implies user = schema
 			//$this->createDatabase($this->dbname, $this->dbuser, $connection);
 		} else {
 
@@ -86,7 +86,7 @@ class OCI extends AbstractDatabase {
 			\OC_Config::setValue('dbname', $this->dbname);
 			\OC_Config::setValue('dbpassword', $this->dbpassword);
 
-			//create the database not neccessary, oracle implies user = schema
+			//create the database not necessary, oracle implies user = schema
 			//$this->createDatabase($this->dbname, $this->dbuser, $connection);
 		}
 
@@ -133,9 +133,6 @@ class OCI extends AbstractDatabase {
 	}
 
 	/**
-	 *
-	 * @param String $name
-	 * @param String $password
 	 * @param resource $connection
 	 */
 	private function createDBUser($connection) {
@@ -210,6 +207,7 @@ class OCI extends AbstractDatabase {
 
 	/**
 	 * @param resource $connection
+	 * @return string
 	 */
 	protected function getLastError($connection = null) {
 		if ($connection) {