summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorMarcin Wawrzyniak <[email protected]>2013-03-20 00:44:51 +0100
committerMarcin Wawrzyniak <[email protected]>2013-03-20 00:44:51 +0100
commita8c2afd41c83ca521a5d01b3ff71ec21612aa037 (patch)
tree3949dbe5896a37afa99ef5bf89cd8d4c66daa147 /idiorm.php
parentbc56239e9a77ff8239ed04d20cdcfd6a854d4c19 (diff)
fixed phpdoc in get_db()
phpdoc said it returns ORM, but it's PDO
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/idiorm.php b/idiorm.php
index c6d0570..5b327a6 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -299,7 +299,7 @@
* required outside the class. If multiple connections are used,
* accepts an optional key name for the connection.
* @param string $connection_name Which connection to use
- * @return ORM
+ * @return PDO
*/
public static function get_db($connection_name = self::DEFAULT_CONNECTION) {
self::_setup_db($connection_name); // required in case this is called before Idiorm is instantiated