Skip to content

Commit f1a1e23

Browse files
committed
fix: wrong type declaration
1 parent e3cafec commit f1a1e23

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Models/CheckQueryReturnTrait.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ trait CheckQueryReturnTrait
1010
{
1111
private ?bool $currentDBDebug = null;
1212

13-
private function checkQueryReturn(bool $return): void
13+
/**
14+
* @param bool|int|string $return insert() returns insert ID.
15+
*/
16+
private function checkQueryReturn($return): void
1417
{
1518
$this->restoreDBDebug();
1619

0 commit comments

Comments
 (0)