mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Fixing build on php 7.2 env
This commit is contained in:
parent
454a097c89
commit
fdc1341282
@ -19,7 +19,7 @@ class MockConnection extends BaseConnection
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
public function query(string $sql, $binds = null)
|
||||
public function query(string $sql, $binds = null, $queryClass = 'CodeIgniter\\Database\\Query')
|
||||
{
|
||||
$queryClass = str_replace('Connection', 'Query', get_class($this));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user