Passed
Push — master ( 3582c1...c2cdfe )
by Nicolaas
04:02
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
                 }
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
                 'FONT_CACHE_DIRECTIVE' => $currentSiteConfig->config()->get('font_cache_directive'),
257 257
             ] as $key => $value
258 258
         ) {
259
-            if (! $currentSiteConfig->HasResourceCaching) {
259
+            if (!$currentSiteConfig->HasResourceCaching) {
260 260
                 $value = '';
261 261
             }
262 262
             if ($owner->ResourceCachingTimeInSeconds) {
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     public function DoesNotHaveCaching(): bool
271 271
     {
272 272
         $owner = $this->getOwner();
273
-        return ! $owner->HasCaching;
273
+        return !$owner->HasCaching;
274 274
     }
275 275
 
276 276
     protected function updateHtaccess(string $code, string $toAdd)
Please login to merge, or discard this patch.