@@ -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); |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | public function DoesNotHaveCaching(): bool |
| 257 | 257 | { |
| 258 | 258 | $owner = $this->getOwner(); |
| 259 | - return ! $owner->HasCaching; |
|
| 259 | + return !$owner->HasCaching; |
|
| 260 | 260 | } |
| 261 | 261 | |
| 262 | 262 | protected function updateHtaccess(string $code, string $toAdd) |