@@ -43,9 +43,9 @@ |
||
| 43 | 43 | $class = get_called_class(); |
| 44 | 44 | $instance = new $class; |
| 45 | 45 | |
| 46 | - if (!$instance->isCachable()) { |
|
| 47 | - return parent::all($columns); |
|
| 48 | - } |
|
| 46 | + if (!$instance->isCachable()) { |
|
| 47 | + return parent::all($columns); |
|
| 48 | + } |
|
| 49 | 49 | |
| 50 | 50 | $tags = $instance->makeCacheTags(); |
| 51 | 51 | $key = $instance->makeCacheKey(); |
@@ -85,9 +85,9 @@ |
||
| 85 | 85 | $where["first"] = $this->expressionToString($where["first"]); |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | - if ($where["second"] instanceof Expression) { |
|
| 89 | - $where["second"] = $this->expressionToString($where["second"]); |
|
| 90 | - } |
|
| 88 | + if ($where["second"] instanceof Expression) { |
|
| 89 | + $where["second"] = $this->expressionToString($where["second"]); |
|
| 90 | + } |
|
| 91 | 91 | |
| 92 | 92 | return "-{$where["boolean"]}_{$where["first"]}_{$where["operator"]}_{$where["second"]}"; |
| 93 | 93 | } |