@@ -20,9 +20,9 @@ |
||
20 | 20 | // NB. |
21 | 21 | // if the dataobject has the versioned extension then the cache should be invalidated onAfterPublish |
22 | 22 | // hasStages function is part of the Versioned class so safe to check here |
23 | - if (! $owner->hasExtension(Versioned::class)) { |
|
23 | + if (!$owner->hasExtension(Versioned::class)) { |
|
24 | 24 | $this->doUpdateCache($className); |
25 | - } elseif (! $owner->hasStages()) { |
|
25 | + } elseif (!$owner->hasStages()) { |
|
26 | 26 | $this->doUpdateCache($className); |
27 | 27 | } |
28 | 28 | } |
@@ -159,7 +159,7 @@ |
||
159 | 159 | { |
160 | 160 | if (self::$_cache_key_sitetree_changes === null) { |
161 | 161 | self::$_cache_key_sitetree_changes = SimpleTemplateCachingSiteConfigExtension::site_cache_key(); |
162 | - self::$_cache_key_sitetree_changes .= $this->getCanCacheContentString() ; |
|
162 | + self::$_cache_key_sitetree_changes .= $this->getCanCacheContentString(); |
|
163 | 163 | } |
164 | 164 | |
165 | 165 | return self::$_cache_key_sitetree_changes; |