aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/db/connectionfactory.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-05-12 21:58:09 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-05-12 21:58:09 +0200
commit8314e5f4d11d03a780334944d8578838c50600ce (patch)
treed8e2351e82a149c45be2abc4ad583018a0a60ea2 /lib/private/db/connectionfactory.php
parent603ce95211a9c4a4e66f2fe19e0ef66288a5d122 (diff)
downloadnextcloud-server-8314e5f4d11d03a780334944d8578838c50600ce.tar.gz
nextcloud-server-8314e5f4d11d03a780334944d8578838c50600ce.zip
fixing typos and adding PHPDoc
Diffstat (limited to 'lib/private/db/connectionfactory.php')
-rw-r--r--lib/private/db/connectionfactory.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/db/connectionfactory.php b/lib/private/db/connectionfactory.php
index 14ffe1a4a56..8f852cf7127 100644
--- a/lib/private/db/connectionfactory.php
+++ b/lib/private/db/connectionfactory.php
@@ -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) {