1
1
Fork 0

Rebase type-hint based on af9ce6b92a

This commit is contained in:
Philipp Holzer 2019-06-15 13:11:12 +02:00
parent 082634adbc
commit 91c295b55f
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

View file

@ -37,6 +37,7 @@ class Database
*/
private $logger;
private $server_info = '';
/** @var PDO|mysqli */
private $connection;
private $driver;
private $error = false;
@ -473,6 +474,7 @@ class Database
break;
}
/** @var $stmt mysqli_stmt|PDOStatement */
if (!$stmt = $this->connection->prepare($sql)) {
$errorInfo = $this->connection->errorInfo();
$this->error = $errorInfo[2];