Explorar el Código

Apply minor changes.

Daniele Alessandri hace 14 años
padre
commit
3924235501
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;
         }
     }