Passed
Push — master ( eb3175...949697 )
by Mike
03:02
created
src/Traits/CachePrefixing.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.