Skip to content

Commit

Permalink
Merge pull request #5416 from dlubitz/90/bugfix/fix-typo-persistence
Browse files Browse the repository at this point in the history
BUGFIX: Fix typo in member variable
  • Loading branch information
bwaidelich authored Dec 30, 2024
2 parents e339da0 + dbe498d commit 5cf500f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Neos.Neos/Classes/Fusion/Cache/ContentCacheFlusher.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ContentCacheFlusher
/**
* @var array<string,string>
*/
private array $tagsToFlushAfterPersistance = [];
private array $tagsToFlushAfterPersistence = [];

public function __construct(
protected readonly ContentCache $contentCache,
Expand Down Expand Up @@ -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);
}

/**
Expand All @@ -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
Expand Down

0 comments on commit 5cf500f

Please sign in to comment.