fixing Strict standards: Declaration of Doctrine_Connection_Mysql::replace() should be compatible with that of Doctrine_Connection::replace()
This commit is contained in:
parent
7a5cda86c2
commit
48b8791e17
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user