Преглед изворни кода

Nothing fancy, and hardly an optimization.

Daniele Alessandri пре 14 година
родитељ
комит
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;