RedisBagOStuff: Do not pass unused parameter
authorJakub Vrana <jakub@vrana.cz>
Sat, 1 Dec 2018 16:51:45 +0000 (17:51 +0100)
committerLegoktm <legoktm@member.fsf.org>
Sat, 1 Dec 2018 23:54:48 +0000 (23:54 +0000)
Found by PHPStan.

Change-Id: I20fe8ca713362d115d620a22e04c5dc984ae279e

includes/libs/objectcache/RedisBagOStuff.php

index a473210..abf9e8b 100644 (file)
@@ -230,7 +230,7 @@ class RedisBagOStuff extends BagOStuff {
                                        }
                                }
                        } catch ( RedisException $e ) {
-                               $this->handleException( $server, $conn, $e );
+                               $this->handleException( $conn, $e );
                                $result = false;
                        }
                }