Passed
Push — master ( 803223...93cfec )
by Nicolaas
09:46
created
src/Extensions/SimpleTemplateCachingSiteConfigExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     {
35 35
         $obj = SiteConfig::current_site_config();
36 36
 
37
-        return (string) 'ts_'.strtotime($obj->CacheKeyLastEdited);
37
+        return (string) 'ts_' . strtotime($obj->CacheKeyLastEdited);
38 38
     }
39 39
 
40 40
     public static function update_cache_key(?string $className = '')
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
             UPDATE "SiteConfig"
44 44
             SET
45 45
                 "CacheKeyLastEdited" = \'' . DBDatetime::now()->Rfc2822() . '\',
46
-                "ClassNameLastEdited" = \'' . $className. '\'
46
+                "ClassNameLastEdited" = \'' . $className . '\'
47 47
         ;');
48 48
     }
49 49
 }
Please login to merge, or discard this patch.