Passed
Push — master ( a8d0c9...a96d2e )
by Nicolaas
09:24
created
src/Extensions/SimpleTemplateCachingSiteConfigExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
                 ;');
207 207
                 if ($obj->RecordCacheUpdates) {
208 208
                     $recordId = Injector::inst()
209
-                        ->create(ObjectsUpdated::class, ['ClassNameLastEdited' => $className])
209
+                        ->create(ObjectsUpdated::class, [ 'ClassNameLastEdited' => $className ])
210 210
                         ->write();
211 211
                     DB::query('DELETE FROM "ObjectsUpdated" WHERE "ID" < ' . (int) ($recordId - self::MAX_OBJECTS_UPDATED));
212 212
                 }
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
                 'FONT_CACHE_DIRECTIVE' => $currentSiteConfig->config()->get('font_cache_directive'),
247 247
             ] as $key => $value
248 248
         ) {
249
-            if (! $currentSiteConfig->HasResourceCaching) {
249
+            if (!$currentSiteConfig->HasResourceCaching) {
250 250
                 $value = '';
251 251
             }
252 252
             $this->updateHtaccess($key, $value);
Please login to merge, or discard this patch.