mirror of
https://github.com/dg/dibi.git
synced 2025-08-12 17:14:16 +02:00
coding style: fixes in code
This commit is contained in:
@@ -7,23 +7,29 @@ require __DIR__ . '/bootstrap.php';
|
||||
|
||||
class MockDriver extends Dibi\Drivers\SqlsrvDriver
|
||||
{
|
||||
function __construct()
|
||||
{}
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
function connect(array &$config)
|
||||
{}
|
||||
|
||||
function query($sql)
|
||||
public function connect(array &$config)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public function query($sql)
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
function getResultColumns()
|
||||
|
||||
public function getResultColumns()
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
function fetch($assoc)
|
||||
|
||||
public function fetch($assoc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user