mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Add stub for PDOException.
This commit is contained in:
parent
5c01913456
commit
653d17ff81
@ -151,3 +151,8 @@ class PDOStatement implements Traversable
|
||||
*/
|
||||
public function fetchObject($class = \stdclass::class, array $ctorArgs = array()) {}
|
||||
}
|
||||
|
||||
class PDOException extends RuntimeException {
|
||||
protected string $code;
|
||||
public ?array $errorInfo = null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user