From 1136cad84f123c228f155dbcd4de4c89c956ebfa Mon Sep 17 00:00:00 2001 From: tailor Date: Tue, 22 Aug 2006 16:44:55 +0000 Subject: [project @ Fixed DatabaseConnection methods to align with PEAR signatures (thanks to Rasqual Twilight )] --- Auth/OpenID/DatabaseConnection.php | 8 ++++---- 1 file 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()) { } } -- cgit v1.1