Minor tweaks
This commit is contained in:
parent
f5aaa59f8d
commit
56c929088a
@ -204,7 +204,7 @@ interface DriverInterface {
|
||||
* @param string $where
|
||||
* @return int|null
|
||||
*/
|
||||
public function updateBatch(string $table, $data, $where);
|
||||
public function updateBatch(string $table, $data, $where): ?int;
|
||||
|
||||
/**
|
||||
* Get the SQL class for the current driver
|
||||
|
@ -119,6 +119,12 @@ SQL;
|
||||
|
||||
public function testBadPreparedStatement()
|
||||
{
|
||||
if (is_a($this, \UnitTestCase::class))
|
||||
{
|
||||
$this->markTestSkipped();
|
||||
return;
|
||||
}
|
||||
|
||||
$this->expectException(TypeError::class);
|
||||
|
||||
$sql = <<<SQL
|
||||
|
@ -149,6 +149,12 @@ SQL;
|
||||
|
||||
public function testBadPreparedStatement()
|
||||
{
|
||||
if (is_a($this, \UnitTestCase::class))
|
||||
{
|
||||
$this->markTestSkipped();
|
||||
return;
|
||||
}
|
||||
|
||||
$this->expectException(TypeError::class);
|
||||
|
||||
$sql = <<<SQL
|
||||
|
Loading…
Reference in New Issue
Block a user