Completed
Push — V6 ( cfd763...eaf7a5 )
by Georges
02:52
created
tests/Psr16Adapter.test.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -43,9 +43,9 @@  discard block
 block discarded – undo
43 43
 
44 44
 $testHelper->printNewLine()->printText('Setting up value to "test-key, test-key2, test-key3"...')->printNewLine();
45 45
 $Psr16Adapter->setMultiple([
46
-  'test-key' => $value,
47
-  'test-key2' => $value,
48
-  'test-key3' => $value
46
+    'test-key' => $value,
47
+    'test-key2' => $value,
48
+    'test-key3' => $value
49 49
 ]);
50 50
 
51 51
 
@@ -61,9 +61,9 @@  discard block
 block discarded – undo
61 61
 
62 62
 $testHelper->printNewLine()->printText('Setting up value to "test-key, test-key2, test-key3"...')->printNewLine();
63 63
 $Psr16Adapter->setMultiple([
64
-  'test-key' => $value,
65
-  'test-key2' => $value,
66
-  'test-key3' => $value
64
+    'test-key' => $value,
65
+    'test-key2' => $value,
66
+    'test-key3' => $value
67 67
 ]);
68 68
 
69 69
 if($Psr16Adapter->has('test-key') && $Psr16Adapter->has('test-key2') && $Psr16Adapter->has('test-key3')){
Please login to merge, or discard this patch.
src/phpFastCache/Helper/Psr16Adapter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,8 @@
 block discarded – undo
63 63
     {
64 64
         try {
65 65
             $cacheItem = $this->internalCacheInstance
66
-              ->getItem($key)
67
-              ->set($value);
66
+                ->getItem($key)
67
+                ->set($value);
68 68
             if (is_int($ttl) || $ttl instanceof \DateInterval) {
69 69
                 $cacheItem->expiresAfter($ttl);
70 70
             }
Please login to merge, or discard this patch.