diff options
author | tailor <cygnus@janrain.com> | 2006-08-22 16:44:55 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2006-08-22 16:44:55 +0000 |
commit | 1136cad84f123c228f155dbcd4de4c89c956ebfa (patch) | |
tree | c070887ae579c927c8358c8202e5c876c5ff77ff | |
parent | 3203c5b58920eba1f4a21715e789b3e690d0f27e (diff) | |
download | php-openid-1136cad84f123c228f155dbcd4de4c89c956ebfa.zip php-openid-1136cad84f123c228f155dbcd4de4c89c956ebfa.tar.gz php-openid-1136cad84f123c228f155dbcd4de4c89c956ebfa.tar.bz2 |
[project @ Fixed DatabaseConnection methods to align with PEAR signatures (thanks to Rasqual Twilight <oid@rasqual.silk.com>)]
-rw-r--r-- | Auth/OpenID/DatabaseConnection.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Auth/OpenID/DatabaseConnection.php b/Auth/OpenID/DatabaseConnection.php index 91d2be2..3f4515f 100644 --- a/Auth/OpenID/DatabaseConnection.php +++ b/Auth/OpenID/DatabaseConnection.php @@ -48,7 +48,7 @@ class Auth_OpenID_DatabaseConnection { * underlying database engine. This method is usually used when * the result of a query is not important, like a DDL query. */ - function query($sql, $params) + function query($sql, $params = array()) { } @@ -88,7 +88,7 @@ class Auth_OpenID_DatabaseConnection { * first row of the result set. False if no such result was * found. */ - function getOne($sql, $params) + function getOne($sql, $params = array()) { } @@ -106,7 +106,7 @@ class Auth_OpenID_DatabaseConnection { * @return array $result The first row of the result set, if any, * keyed on column name. False if no such result was found. */ - function getRow($sql, $params) + function getRow($sql, $params = array()) { } @@ -123,7 +123,7 @@ class Auth_OpenID_DatabaseConnection { * @return array $result An array of arrays representing the * result of the query; each array is keyed on column name. */ - function getAll($sql, $params) + function getAll($sql, $params = array()) { } } |