1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-04 13:17:58 +02:00

Fluent: execute() has conditional return type

This commit is contained in:
Marek Bartoš
2023-09-02 00:14:38 +02:00
committed by David Grudl
parent 82c45c3076
commit 8564217bc1

View File

@@ -279,6 +279,7 @@ class Fluent implements IDataSource
/** /**
* Generates and executes SQL query. * Generates and executes SQL query.
* Returns result set or number of affected rows * Returns result set or number of affected rows
* @return ($return is \dibi::IDENTIFIER|\dibi::AFFECTED_ROWS ? int : Result)
* @throws Exception * @throws Exception
*/ */
public function execute(?string $return = null): Result|int|null public function execute(?string $return = null): Result|int|null