Skip to content

Commit 1ffe36b

Browse files
Caching WiP
1 parent 14e3685 commit 1ffe36b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Analyser/LatteContextAnalyser.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ final class LatteContextAnalyser
4141

4242
private LatteContextCollectorRegistry $collectorRegistry;
4343

44+
private string $tmpDir;
45+
4446
/**
4547
* @param AbstractLatteContextCollector[] $collectors
4648
*/

src/Compiler/Postprocessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function getCacheKey(): string
7272
$signature = '';
7373
foreach ($this->nodeVisitorStorage->getNodeVisitors() as $nodeVisitors) {
7474
foreach ($nodeVisitors as $nodeVisitor) {
75-
$signature .= $nodeVisitor::class;
75+
$signature .= get_class($nodeVisitor);
7676
}
7777
}
7878
return md5($signature);

0 commit comments

Comments
 (0)