Skip to content

Commit

Permalink
Merge pull request #6 from TorstenDittmann/fix-pdo-type
Browse files Browse the repository at this point in the history
fix(timelimit): remove pdo type
  • Loading branch information
eldadfux authored Jun 23, 2021
2 parents 8b7973a + e04c303 commit 286b522
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Abuse/Adapters/TimeLimit.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,12 @@ public function time(): int
return $this->time;
}

protected function getPDO(): PDO
/**
* Get PDO connection.
*
* @return PDO
*/
protected function getPDO()
{
return \call_user_func($this->connection);
}
Expand Down

0 comments on commit 286b522

Please sign in to comment.