modified ModelTest for strict PHP standarts
This commit is contained in:
@ -279,7 +279,7 @@ abstract class MyDbDriver extends DbDriver
|
|||||||
return $table;
|
return $table;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function query($sql, $params)
|
public function query($sql, $params = array())
|
||||||
{
|
{
|
||||||
$conf = array('driver' => 'MockDbDriver', 'hostname' => 'localhost', 'database' => 'db', 'username' => 'test', 'password' => '1234');
|
$conf = array('driver' => 'MockDbDriver', 'hostname' => 'localhost', 'database' => 'db', 'username' => 'test', 'password' => '1234');
|
||||||
return new MockDbDriver($conf);
|
return new MockDbDriver($conf);
|
||||||
|
Reference in New Issue
Block a user