fixing typos and adding PHPDoc

This commit is contained in:
Thomas Müller 2014-05-12 21:58:09 +02:00
parent 603ce95211
commit 8314e5f4d1
1 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@
namespace OC\DB;
/**
* Takes care of creating and configurating Doctrine connections.
* Takes care of creating and configuring Doctrine connections.
*/
class ConnectionFactory {
/**
@ -91,6 +91,7 @@ class ConnectionFactory {
case 'sqlite3':
// Sqlite doesn't handle query caching and schema changes
// TODO: find a better way to handle this
/** @var $connection \OC\DB\Connection */
$connection->disableQueryStatementCaching();
break;
}
@ -107,7 +108,7 @@ class ConnectionFactory {
}
/**
* @brief Checks whether the specififed DBMS type is valid.
* @brief Checks whether the specified DBMS type is valid.
* @return bool
*/
public function isValidType($type) {