add @throws declarations to docs in Connection
In a few cases methods in Connection may throw a DBALException which isn't declared in the docblock. As the Connection class is heavily used by third party code, this code runs the risk of ignoring those exceptions instead of handling them. While it is technically not required to declare exceptions in PHP, it is highly recommended, especially in public APIs.
Showing
Please register or sign in to comment