From 91c295b55fe650db04b09f0d0f6901af6deface0 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sat, 15 Jun 2019 13:11:12 +0200 Subject: [PATCH] Rebase type-hint based on https://github.com/friendica/friendica/pull/7266/commits/af9ce6b92acde542419e2b5fed7c73f3f7a87472 --- src/Database/Database.php | 2 ++ 1 file changed, 2 insertions(+) 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];