@@ -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(); |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | if ($where["second"] instanceof Expression) { |
| 89 | - $where["second"] = $this->expressionToString($where["second"]); |
|
| 89 | + $where["second"] = $this->expressionToString($where["second"]); |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | return "-{$where["boolean"]}_{$where["first"]}_{$where["operator"]}_{$where["second"]}"; |