Minor tweaks

This commit is contained in:
Timothy Warren 2018-01-25 15:12:46 -05:00
parent f5aaa59f8d
commit 56c929088a
3 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -119,6 +119,12 @@ SQL;
public function testBadPreparedStatement()
{
if (is_a($this, \UnitTestCase::class))
{
$this->markTestSkipped();
return;
}
$this->expectException(TypeError::class);
$sql = <<<SQL

View File

@ -149,6 +149,12 @@ SQL;
public function testBadPreparedStatement()
{
if (is_a($this, \UnitTestCase::class))
{
$this->markTestSkipped();
return;
}
$this->expectException(TypeError::class);
$sql = <<<SQL