From f80671a7841b7750a93b94882f3229cb803cbd0f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 26 Mar 2019 17:08:37 -0700 Subject: [PATCH] objectcache: fix return value type in SqlBagOStuff::incr Change-Id: I14a70956f77f13346857236eda5c4b6fb80c6223 --- includes/objectcache/SqlBagOStuff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/objectcache/SqlBagOStuff.php b/includes/objectcache/SqlBagOStuff.php index e450212dc6..0c777abec3 100644 --- a/includes/objectcache/SqlBagOStuff.php +++ b/includes/objectcache/SqlBagOStuff.php @@ -519,7 +519,7 @@ class SqlBagOStuff extends BagOStuff { } } catch ( DBError $e ) { $this->handleWriteError( $e, $db, $serverIndex ); - return null; + return false; } return $newValue; -- 2.20.1