Passed
Push — master ( c6150b...ef80b0 )
by Mihail
05:01
created
Apps/Model/Front/Content/EntityContentSearch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
         $index = implode('-', $this->_skip);
63 63
         // try to get this slow query from cache
64
-        $cache = App::$Cache->getItem('entity.content.search.index.' . $index);
64
+        $cache = App::$Cache->getItem('entity.content.search.index.'.$index);
65 65
         if (!$cache->isHit()) {
66 66
             $cache->set($this->makeSearch());
67 67
             $cache->expiresAfter(static::CACHE_TIME);
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
                 'id' => $item->id,
96 96
                 'title' => $item->getLocaled('title'),
97 97
                 'snippet' => Text::snippet($text),
98
-                'uri' => '/content/read/' . $item->getPath(),
98
+                'uri' => '/content/read/'.$item->getPath(),
99 99
                 'thumb' => $item->getPosterThumbUri()
100 100
             ];
101 101
         }
Please login to merge, or discard this patch.