@@ -206,7 +206,7 @@ discard block |
||
| 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 |
||
| 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); |