Skip to content

Commit 0fb1e9a

Browse files
committed
Added additional cache check
1 parent ad52831 commit 0fb1e9a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Core/Cache/CacheState/TransformedCacheState.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ public function isFresh(): bool
5252
return false;
5353
// @codeCoverageIgnoreEnd
5454
}
55+
56+
if (filemtime($transformerFilePath) > $this->modificationTime) {
57+
return false;
58+
}
5559
}
5660

5761
return true;

0 commit comments

Comments
 (0)