mirror of
https://github.com/dg/dibi.git
synced 2025-08-04 05:07:36 +02:00
Fluent: execute() has conditional return type
This commit is contained in:
committed by
David Grudl
parent
82c45c3076
commit
8564217bc1
@@ -279,6 +279,7 @@ class Fluent implements IDataSource
|
||||
/**
|
||||
* Generates and executes SQL query.
|
||||
* Returns result set or number of affected rows
|
||||
* @return ($return is \dibi::IDENTIFIER|\dibi::AFFECTED_ROWS ? int : Result)
|
||||
* @throws Exception
|
||||
*/
|
||||
public function execute(?string $return = null): Result|int|null
|
||||
|
Reference in New Issue
Block a user