Skip to content

Commit

Permalink
Add throws annotation to connect()
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Jul 10, 2022
1 parent 4a1c632 commit 390fb80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SqlConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ interface SqlConnector
* @param TConfig $config
*
* @return TLink
*
* @throws ConnectionException
*/
public function connect(SqlConfig $config, ?Cancellation $cancellation = null): Link;
}

0 comments on commit 390fb80

Please sign in to comment.