Browse Source

Apply minor changes.

Daniele Alessandri 14 years ago
parent
commit
3924235501
1 changed files with 2 additions and 2 deletions
  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;
         }
     }