Эх сурвалжийг харах

Nothing fancy, and hardly an optimization.

Daniele Alessandri 14 жил өмнө
parent
commit
d270205a8c
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;