From e7a7fb42388edb24fa206975c9a7aaf22991e54c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 6 Aug 2015 12:45:30 -0700 Subject: [PATCH] Fixed deadlockLoop() IDE errors Change-Id: I76bb9250bc8017756af4f2552cd48ab595a26297 --- includes/db/Database.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 2ee45451d3..cf0eab794c 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -3205,7 +3205,8 @@ abstract class DatabaseBase implements IDatabase { * iteration, or false on error, for example if the retry limit was * reached. * - * @return bool + * @return mixed + * @throws DBQueryError */ public function deadlockLoop() { $args = func_get_args(); @@ -3219,6 +3220,7 @@ abstract class DatabaseBase implements IDatabase { $this->begin( __METHOD__ ); + $retVal = null; $e = null; do { try { -- 2.20.1