From 21cce2749eb2ffa96497a87f598fed72ea17849a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barto=C5=A1?= Date: Sat, 2 Sep 2023 00:14:38 +0200 Subject: [PATCH] Fluent: execute() has conditional return type --- src/Dibi/Fluent.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Dibi/Fluent.php b/src/Dibi/Fluent.php index 5c4a6430..2cbc0232 100644 --- a/src/Dibi/Fluent.php +++ b/src/Dibi/Fluent.php @@ -279,6 +279,7 @@ public function setupResult(string $method): static /** * 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