Skip to content

Commit 1f5b226

Browse files
committed
fix: Fix psalm type for DatabaseInterface::transaction() method (#186)
1 parent 62f4d52 commit 1f5b226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DatabaseInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function select(mixed $columns = '*'): SelectQuery;
136136
*
137137
* @template CallbackResult
138138
*
139-
* @param callable(): CallbackResult $callback
139+
* @param callable(DatabaseInterface): CallbackResult $callback
140140
*
141141
* @throws \Throwable
142142
*

0 commit comments

Comments
 (0)