mirror of
https://github.com/predis/predis.git
synced 2026-08-30 04:02:22 +00:00
Fix wrong namespace path for EmptyRingException.
This commit is contained in:
+1
-1
@@ -1588,7 +1588,7 @@ class HashRing implements IDistributionAlgorithm {
|
||||
return;
|
||||
}
|
||||
if (count($this->_nodes) === 0) {
|
||||
throw new \EmptyRingException('Cannot initialize empty hashring');
|
||||
throw new EmptyRingException('Cannot initialize empty hashring');
|
||||
}
|
||||
|
||||
$this->_ring = array();
|
||||
|
||||
Reference in New Issue
Block a user