@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | ;'); |
215 | 215 | if ($obj->RecordCacheUpdates) { |
216 | 216 | $recordId = Injector::inst() |
217 | - ->create(ObjectsUpdated::class, ['ClassNameLastEdited' => $className]) |
|
217 | + ->create(ObjectsUpdated::class, [ 'ClassNameLastEdited' => $className ]) |
|
218 | 218 | ->write(); |
219 | 219 | DB::query('DELETE FROM "ObjectsUpdated" WHERE "ID" < ' . (int) ($recordId - self::MAX_OBJECTS_UPDATED)); |
220 | 220 | } |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | 'FONT_CACHE_DIRECTIVE' => $currentSiteConfig->config()->get('font_cache_directive'), |
265 | 265 | ] as $key => $value |
266 | 266 | ) { |
267 | - if (! $currentSiteConfig->HasResourceCaching) { |
|
267 | + if (!$currentSiteConfig->HasResourceCaching) { |
|
268 | 268 | $value = ''; |
269 | 269 | } |
270 | 270 | if ($owner->ResourceCachingTimeInSeconds) { |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | public function DoesNotHaveCaching(): bool |
279 | 279 | { |
280 | 280 | $owner = $this->getOwner(); |
281 | - return ! $owner->HasCaching; |
|
281 | + return !$owner->HasCaching; |
|
282 | 282 | } |
283 | 283 | |
284 | 284 | protected function updateHtaccessForOne(string $code, string $toAdd, ?bool $verbose = false) |