Просмотр исходного кода

Nothing fancy, and hardly an optimization.

Daniele Alessandri 14 лет назад
Родитель
Сommit
2a25b0e3f3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -550,7 +550,7 @@ class ResponseStatusHandler implements IResponseHandler {
         if ($status === Protocol::OK) {
             return true;
         }
-        else if ($status === Protocol::QUEUED) {
+        if ($status === Protocol::QUEUED) {
             return new ResponseQueued();
         }
         return $status;