浏览代码

Fix a couple of namespacing issues with client exceptions in connection classes (ISSUE #24).

Daniele Alessandri 14 年之前
父节点
当前提交
9fcdc73499
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      lib/Predis/Network/ConnectionBase.php
  2. 1 0
      lib/Predis/Network/ConnectionCluster.php

+ 1 - 0
lib/Predis/Network/ConnectionBase.php

@@ -5,6 +5,7 @@ namespace Predis\Network;
 use Predis\Utils;
 use Predis\ICommand;
 use Predis\ConnectionParameters;
+use Predis\ClientException;
 use Predis\CommunicationException;
 use Predis\Protocols\IRedisProtocol;
 

+ 1 - 0
lib/Predis/Network/ConnectionCluster.php

@@ -3,6 +3,7 @@
 namespace Predis\Network;
 
 use Predis\ICommand;
+use Predis\ClientException;
 use Predis\Distribution\IDistributionStrategy;
 
 class ConnectionCluster implements IConnectionCluster, \IteratorAggregate {