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