Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Jul 30, 2023
1 parent 79a704f commit ba61785
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## 1.1.1 under development

- New #617: Add debug collector for `yiisoft/yii-debug` (@xepozz)
- Enh #617, #733: Add specific psalm annotation of `$closure` parameter in `ConnectionInterface::transaction()`
method (@xepozz, @vjik)

## 1.1.0 July 24, 2023

Expand Down
2 changes: 1 addition & 1 deletion src/Connection/ConnectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function setTablePrefix(string $value): void;
*
* @return mixed Result of callback function.
*
* @psalm-param Closure(ConnectionInterface): mixed $closure
* @psalm-param Closure(ConnectionInterface):mixed|Closure(ConnectionInterface):void $closure
*/
public function transaction(Closure $closure, string $isolationLevel = null): mixed;
}

0 comments on commit ba61785

Please sign in to comment.