Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilwylegala committed Sep 21, 2024
1 parent 0314219 commit 5d16659
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Model/Datasource/PDOExceptionWithQueryString.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ class PDOExceptionWithQueryString extends PDOException {

public string $queryString = "";

/**
* Wrapper for PDOException to avoid creating dynamic property.
*/
public function __construct(PDOException $e) {
parent::__construct($e->getMessage(), $e->getCode(), $e->getPrevious());
}
Expand Down

0 comments on commit 5d16659

Please sign in to comment.