Passed
Push — main ( 9344f0...738116 )
by Sílvio
02:58
created
Examples/example08.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 $Cacheer->putCache($cacheKey, $userProfile, ttl: 300);
20 20
 
21 21
 // Recuperando dados do cache
22
-if($Cacheer->isSuccess()){
22
+if ($Cacheer->isSuccess()) {
23 23
     echo "Cache Found: ";
24 24
     print_r($Cacheer->getCache($cacheKey));
25 25
 } else {
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 // Renovando os dados do cache
30 30
 $Cacheer->renewCache($cacheKey, 3600);
31 31
 
32
-if($Cacheer->isSuccess()){
32
+if ($Cacheer->isSuccess()) {
33 33
   echo $Cacheer->getMessage() . PHP_EOL;
34 34
 } else {
35 35
   echo $Cacheer->getMessage() . PHP_EOL;
Please login to merge, or discard this patch.
Examples/example07.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 $Cacheer->putCache($cacheKey, $userProfile);
26 26
 
27 27
 // Recuperando dados do cache
28
-if($Cacheer->isSuccess()){
28
+if ($Cacheer->isSuccess()) {
29 29
     echo "Cache Found: ";
30 30
     print_r($Cacheer->getCache($cacheKey));
31 31
 } else {
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 // Mesclando os dados
37 37
 $Cacheer->appendCache($cacheKey, $userProfile02);
38 38
 
39
-if($Cacheer->isSuccess()){
39
+if ($Cacheer->isSuccess()) {
40 40
     echo $Cacheer->getMessage() . PHP_EOL;
41 41
     print_r($Cacheer->getCache($cacheKey));
42 42
 } else {
Please login to merge, or discard this patch.