mirror of
https://github.com/danog/sql.git
synced 2024-11-26 20:15:08 +01:00
Add throws annotation to connect()
This commit is contained in:
parent
4a1c63240e
commit
390fb800bb
@ -17,6 +17,8 @@ interface SqlConnector
|
||||
* @param TConfig $config
|
||||
*
|
||||
* @return TLink
|
||||
*
|
||||
* @throws ConnectionException
|
||||
*/
|
||||
public function connect(SqlConfig $config, ?Cancellation $cancellation = null): Link;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user