Completed
Push — master ( a18851...eb3437 )
by Lars
02:11
created
src/voku/cache/AdapterFile.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
   }
211 211
 
212 212
   /**
213
-   * @param $cacheFile
213
+   * @param string $cacheFile
214 214
    *
215 215
    * @return bool
216 216
    */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace voku\cache;
6 6
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     $this->serializer = new SerializerIgbinary();
43 43
 
44 44
     if (!$cacheDir) {
45
-      $cacheDir = \realpath(\sys_get_temp_dir()) . '/simple_php_cache';
45
+      $cacheDir = \realpath(\sys_get_temp_dir()).'/simple_php_cache';
46 46
     }
47 47
 
48 48
     $this->cacheDir = (string)$cacheDir;
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
    */
259 259
   protected function getFileName(string $key): string
260 260
   {
261
-    return $this->cacheDir . DIRECTORY_SEPARATOR . self::CACHE_FILE_PREFIX . $key . self::CACHE_FILE_SUBFIX;
261
+    return $this->cacheDir.DIRECTORY_SEPARATOR.self::CACHE_FILE_PREFIX.$key.self::CACHE_FILE_SUBFIX;
262 262
   }
263 263
 
264 264
   /**
Please login to merge, or discard this patch.
src/voku/cache/AdapterPredis.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace voku\cache;
6 6
 
Please login to merge, or discard this patch.
src/voku/cache/AdapterApcu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace voku\cache;
6 6
 
Please login to merge, or discard this patch.
src/voku/cache/SerializerNo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace voku\cache;
6 6
 
Please login to merge, or discard this patch.
src/voku/cache/iSerializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace voku\cache;
6 6
 
Please login to merge, or discard this patch.
src/voku/cache/SerializerDefault.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace voku\cache;
6 6
 
Please login to merge, or discard this patch.
src/voku/cache/CacheChain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace voku\cache;
6 6
 
Please login to merge, or discard this patch.
src/voku/cache/Exception/InvalidArgumentException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace voku\cache\Exception;
6 6
 
Please login to merge, or discard this patch.
src/voku/cache/iCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace voku\cache;
6 6
 
Please login to merge, or discard this patch.