Browse Source

Nothing fancy, and hardly an optimization.

Daniele Alessandri 14 năm trước cách đây
mục cha
commit
d270205a8c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -508,7 +508,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;