Add throws annotation to connect()

This commit is contained in:
Aaron Piotrowski 2022-07-10 11:28:12 -05:00
parent 4a1c63240e
commit 390fb800bb
No known key found for this signature in database
GPG Key ID: 5B456E6AABA44A63

View File

@ -17,6 +17,8 @@ interface SqlConnector
* @param TConfig $config * @param TConfig $config
* *
* @return TLink * @return TLink
*
* @throws ConnectionException
*/ */
public function connect(SqlConfig $config, ?Cancellation $cancellation = null): Link; public function connect(SqlConfig $config, ?Cancellation $cancellation = null): Link;
} }