Explorar o código

Apply minor changes.

Daniele Alessandri %!s(int64=14) %!d(string=hai) anos
pai
achega
3924235501
Modificáronse 1 ficheiros con 2 adicións e 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;
         }
     }