From: Philipp Holzer Date: Sat, 15 Jun 2019 11:11:12 +0000 (+0200) Subject: Rebase type-hint based on https://github.com/friendica/friendica/pull/7266/commits... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=91c295b55fe650db04b09f0d0f6901af6deface0;p=friendica.git Rebase type-hint based on https://github.com/friendica/friendica/pull/7266/commits/af9ce6b92acde542419e2b5fed7c73f3f7a87472 --- diff --git a/src/Database/Database.php b/src/Database/Database.php index 7d3d7fae7e..38406b6bad 100644 --- a/src/Database/Database.php +++ b/src/Database/Database.php @@ -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];