summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorUlrik Johansson <[email protected]>2013-09-02 14:38:16 +0200
committerUlrik Johansson <[email protected]>2013-09-02 14:38:16 +0200
commit3d52967018860dbd720cb91e1562bd400d62033f (patch)
tree6a9b716cd453a7d6dc64de8235202cc65743d5d0 /idiorm.php
parent01112f5ac14b24aed8038cc0ae99801007ef26b8 (diff)
Correct docblock type hint for set_db($db)
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 5b327a6..23be19b 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -247,7 +247,7 @@
* This is public in case the ORM should use a ready-instantiated
* PDO object as its database connection. Accepts an optional string key
* to identify the connection if multiple connections are used.
- * @param ORM $db
+ * @param PDO $db
* @param string $connection_name Which connection to use
*/
public static function set_db($db, $connection_name = self::DEFAULT_CONNECTION) {