Skip to content

Commit

Permalink
Add missing phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Mar 9, 2020
1 parent d8d7357 commit c1ed100
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ public function setMessage($message): self
return $this;
}

/**
* @return int|string int most of the time (might be a string with PDOException)
*/
public function getCode()
{
return $this->code;
Expand Down

0 comments on commit c1ed100

Please sign in to comment.