mirror of
https://github.com/dg/dibi.git
synced 2025-02-22 09:53:11 +01:00
Fluent: Remove return type for fetch method (#280)
This commit is contained in:
parent
3050aebb48
commit
b1420cee0b
@ -302,8 +302,9 @@ class Fluent implements IDataSource
|
||||
|
||||
/**
|
||||
* Generates, executes SQL query and fetches the single row.
|
||||
* @return Row|array|null
|
||||
*/
|
||||
public function fetch(): ?Row
|
||||
public function fetch()
|
||||
{
|
||||
if ($this->command === 'SELECT' && !$this->clauses['LIMIT']) {
|
||||
return $this->query($this->_export(null, ['%lmt', 1]))->fetch();
|
||||
|
Loading…
x
Reference in New Issue
Block a user