Skip to content

Commit

Permalink
Fluent: execute() has conditional return type
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar authored and dg committed Sep 5, 2023
1 parent 82c45c3 commit 8564217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Dibi/Fluent.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8564217

Please sign in to comment.