diff --git a/Neos.Neos/Classes/Fusion/Cache/ContentCacheFlusher.php b/Neos.Neos/Classes/Fusion/Cache/ContentCacheFlusher.php index b3e1406643..b1d65a396d 100644 --- a/Neos.Neos/Classes/Fusion/Cache/ContentCacheFlusher.php +++ b/Neos.Neos/Classes/Fusion/Cache/ContentCacheFlusher.php @@ -46,7 +46,7 @@ class ContentCacheFlusher /** * @var array */ - private array $tagsToFlushAfterPersistance = []; + private array $tagsToFlushAfterPersistence = []; public function __construct( protected readonly ContentCache $contentCache, @@ -236,7 +236,7 @@ protected function flushTagsImmediately(array $tagsToFlush): void */ protected function collectTagsForFlushOnShutdown(array $tagsToFlush): void { - $this->tagsToFlushAfterPersistance = array_merge($tagsToFlush, $this->tagsToFlushAfterPersistance); + $this->tagsToFlushAfterPersistence = array_merge($tagsToFlush, $this->tagsToFlushAfterPersistence); } /** @@ -262,8 +262,8 @@ function (array $types, NodeType $superType) use ($self) { */ public function flushCollectedTags(): void { - $this->flushTagsImmediately($this->tagsToFlushAfterPersistance); - $this->tagsToFlushAfterPersistance = []; + $this->flushTagsImmediately($this->tagsToFlushAfterPersistence); + $this->tagsToFlushAfterPersistence = []; } public function shutdownObject(): void