Bläddra i källkod

Apply minor changes.

Daniele Alessandri 14 år sedan
förälder
incheckning
3924235501
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      lib/Predis.php

+ 2 - 2
lib/Predis.php

@@ -708,10 +708,10 @@ class ResponseError {
     }
 
     public function __get($property) {
-        if ($property == 'error') {
+        if ($property === 'error') {
             return true;
         }
-        if ($property == 'message') {
+        if ($property === 'message') {
             return $this->_message;
         }
     }