浏览代码

Apply minor changes.

Daniele Alessandri 14 年之前
父节点
当前提交
3924235501
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;
         }
     }