Skip to content

Commit f859e46

Browse files
committed
docs: add @throws statement in the docblock of close()
1 parent dbe460e commit f859e46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

system/Database/BasePreparedQuery.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ abstract public function _getResult();
148148

149149
/**
150150
* Explicitly closes the prepared statement.
151+
*
152+
* @throws BadMethodCallException
151153
*/
152154
public function close(): bool
153155
{

0 commit comments

Comments
 (0)