From 48b8791e17c6b32bb52e339404a75ab74de6df1d Mon Sep 17 00:00:00 2001 From: pookey Date: Mon, 20 Nov 2006 01:46:12 +0000 Subject: [PATCH] fixing Strict standards: Declaration of Doctrine_Connection_Mysql::replace() should be compatible with that of Doctrine_Connection::replace() --- lib/Doctrine/Connection/Mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Connection/Mysql.php b/lib/Doctrine/Connection/Mysql.php index a5ea70d17..391be15bc 100644 --- a/lib/Doctrine/Connection/Mysql.php +++ b/lib/Doctrine/Connection/Mysql.php @@ -169,7 +169,7 @@ class Doctrine_Connection_Mysql extends Doctrine_Connection_Common { * * @return integer the number of affected rows */ - public function replace($table, $fields) { + public function replace($table, array $fields, array $keys) { $count = count($fields); $query = $values = ''; $keys = $colnum = 0;