Passed
Push — master ( 38474e...21ce2f )
by Nicolaas
04:04
created
src/Extensions/PageControllerExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             if ($owner->hasMethod('canCachePage')) {
51 51
                 // if it can cache the page, then it the cache string will remain empty.
52 52
                 $canCache = $owner->canCachePage();
53
-                self::$_can_cache_content_string .=  $canCache ? '' : $this->getRandomKey();
53
+                self::$_can_cache_content_string .= $canCache ? '' : $this->getRandomKey();
54 54
             }
55 55
 
56 56
             //action
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             if ($requestVars) {
77 77
                 $canCache = false;
78 78
                 foreach ($requestVars  as $key => $item) {
79
-                    if (! $item) {
79
+                    if (!$item) {
80 80
                         $item = '';
81 81
                     }
82 82
                     self::$_can_cache_content_string .= serialize($key . '_' . serialize($item));
Please login to merge, or discard this patch.