@@ -12,8 +12,8 @@ discard block |
||
| 12 | 12 | ->get("laravel-model-caching.use-database-keying"); |
| 13 | 13 | |
| 14 | 14 | if ($useDatabaseKeying) { |
| 15 | - $cachePrefix .= $this->getConnectionName() . ":"; |
|
| 16 | - $cachePrefix .= $this->getDatabaseName() . ":"; |
|
| 15 | + $cachePrefix .= $this->getConnectionName().":"; |
|
| 16 | + $cachePrefix .= $this->getDatabaseName().":"; |
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | $cachePrefix .= Container::getInstance() |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | if ($this->model |
| 24 | 24 | && property_exists($this->model, "cachePrefix") |
| 25 | 25 | ) { |
| 26 | - $cachePrefix .= $this->model->cachePrefix . ":"; |
|
| 26 | + $cachePrefix .= $this->model->cachePrefix.":"; |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | return $cachePrefix; |