Completed
Push — master ( fec2a8...4fa252 )
by Lars
03:13
created
src/voku/cache/AdapterFile.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     $this->serializer = new SerializerIgbinary();
36 36
 
37 37
     if (!$cacheDir) {
38
-      $cacheDir = realpath(sys_get_temp_dir()) . '/cache';
38
+      $cacheDir = realpath(sys_get_temp_dir()).'/cache';
39 39
     }
40 40
 
41 41
     $this->cacheDir = (string)$cacheDir;
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
    */
186 186
   protected function getFileName($key)
187 187
   {
188
-    return $this->cacheDir . DIRECTORY_SEPARATOR . self::CACHE_FILE_PREFIX . $key . self::CACHE_FILE_SUBFIX;
188
+    return $this->cacheDir.DIRECTORY_SEPARATOR.self::CACHE_FILE_PREFIX.$key.self::CACHE_FILE_SUBFIX;
189 189
   }
190 190
 
191 191
   /**
Please login to merge, or discard this patch.
src/voku/cache/Cache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
    */
223 223
   protected function getTheDefaultPrefix()
224 224
   {
225
-    return (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : '') . '_' . (isset($_SESSION['language']) ? $_SESSION['language'] : '') . '_' . (isset($_SESSION['language_extra']) ? $_SESSION['language_extra'] : '');
225
+    return (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : '').'_'.(isset($_SESSION['language']) ? $_SESSION['language'] : '').'_'.(isset($_SESSION['language_extra']) ? $_SESSION['language_extra'] : '');
226 226
   }
227 227
 
228 228
   /**
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
    */
400 400
   private function calculateStoreKey($rawKey)
401 401
   {
402
-    return $this->getPrefix() . $rawKey;
402
+    return $this->getPrefix().$rawKey;
403 403
   }
404 404
 
405 405
   /**
Please login to merge, or discard this patch.