Skip to content

Commit 71d5485

Browse files
authored
Connection: fixed typehint (#416)
1 parent ca42569 commit 71d5485

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Dibi/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Connection implements IConnection
2323
use Strict;
2424

2525
/** function (Event $event); Occurs after query is executed */
26-
public array $onEvent = [];
26+
public ?array $onEvent = [];
2727

2828
/** Current connection configuration */
2929
private array $config;

0 commit comments

Comments
 (0)