Explorar o código

Fix a wrong namespace path in SafeExecutor::execute().

Daniele Alessandri %!s(int64=15) %!d(string=hai) anos
pai
achega
f0d2551244
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -1570,7 +1570,7 @@ class SafeExecutor implements IPipelineExecutor {
             try {
                 $connection->writeCommand($command);
             }
-            catch (CommunicationException $exception) {
+            catch (\Predis\CommunicationException $exception) {
                 return array_fill(0, $sizeofPipe, $exception);
             }
         }