From 3993b6a4de4459eaacfdaef52bdec272ceebb980 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 3 Jul 2014 16:37:25 -0700 Subject: [PATCH] Fixed broken exception code Change-Id: Id399cb22f183d75acc006e698feb161bd12096bd --- includes/libs/HashRing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/libs/HashRing.php b/includes/libs/HashRing.php index df990981df..2022b225c7 100644 --- a/includes/libs/HashRing.php +++ b/includes/libs/HashRing.php @@ -198,7 +198,7 @@ class HashRing { } } if ( !$this->liveRing ) { - throw UnexpectedValueException( "The live ring is currently empty." ); + throw new UnexpectedValueException( "The live ring is currently empty." ); } return $this->liveRing; -- 2.20.1