mirror of
https://github.com/dg/dibi.git
synced 2025-08-13 01:24:06 +02:00
coding style: fixed spaces & use statements order
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Tester\Assert;
|
||||
@@ -10,21 +9,27 @@ require __DIR__ . '/bootstrap.php';
|
||||
class MockDriver extends Dibi\Drivers\SqlsrvDriver
|
||||
{
|
||||
function __construct()
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
function connect(array & $config): void
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
function query(string $sql): ?Dibi\ResultDriver
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
function getResultColumns(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
function fetch(bool $type): ?array
|
||||
{
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user