Skip to content

Commit 71d1925

Browse files
authored
Fix PqHandle (#46)
1 parent 403d39c commit 71d1925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PqHandle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class PqHandle implements Handle
3434
private $await;
3535

3636
/** @var Emitter[] */
37-
private $listeners;
37+
private $listeners = [];
3838

3939
/** @var array<string, object{refCount: int, promise: Promise<string>, statement: pq\Statement, sql: string}> */
4040
private $statements = [];

0 commit comments

Comments
 (0)