Passed
Push — master ( 685068...b74428 )
by Nicolaas
04:45
created
src/Extensions/SimpleTemplateCachingSiteConfigExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
                 ;');
214 214
                 if ($obj->RecordCacheUpdates) {
215 215
                     $recordId = Injector::inst()
216
-                        ->create(ObjectsUpdated::class, ['ClassNameLastEdited' => $className])
216
+                        ->create(ObjectsUpdated::class, [ 'ClassNameLastEdited' => $className ])
217 217
                         ->write();
218 218
                     DB::query('DELETE FROM "ObjectsUpdated" WHERE "ID" < ' . (int) ($recordId - self::MAX_OBJECTS_UPDATED));
219 219
                 }
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
                 'FONT_CACHE_DIRECTIVE' => $currentSiteConfig->config()->get('font_cache_directive'),
262 262
             ] as $key => $value
263 263
         ) {
264
-            if (! $currentSiteConfig->HasResourceCaching) {
264
+            if (!$currentSiteConfig->HasResourceCaching) {
265 265
                 $value = '';
266 266
             }
267 267
             if ($owner->ResourceCachingTimeInSeconds) {
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
     public function DoesNotHaveCaching(): bool
276 276
     {
277 277
         $owner = $this->getOwner();
278
-        return ! $owner->HasCaching;
278
+        return !$owner->HasCaching;
279 279
     }
280 280
 
281 281
     protected function updateHtaccessForOne(string $code, string $toAdd)
Please login to merge, or discard this patch.