mirror of
https://github.com/danog/sql.git
synced 2024-11-30 04:29:18 +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
|
* @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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user