Skip to content

Commit 390fb80

Browse files
committed
Add throws annotation to connect()
1 parent 4a1c632 commit 390fb80

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/SqlConnector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ interface SqlConnector
1717
* @param TConfig $config
1818
*
1919
* @return TLink
20+
*
21+
* @throws ConnectionException
2022
*/
2123
public function connect(SqlConfig $config, ?Cancellation $cancellation = null): Link;
2224
}

0 commit comments

Comments
 (0)