public function query(string $statement, int $mode = \PDO::ATTR_DEFAULT_FETCH_MODE, $arg3 = null) { if ($arg3) { return $this->pdo->query($statement, $mode, $arg3); } return $this->pdo->query($statement, $mode); }