Skip to content

Commit 70ff98a

Browse files
committed
CacheExtension: fixed yielding
1 parent f6a4b8e commit 70ff98a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridges/CacheLatte/CacheExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function getTags(): array
4242
return [
4343
'cache' => function (Tag $tag): \Generator {
4444
$this->used = true;
45-
return Nodes\CacheNode::create($tag);
45+
return yield from Nodes\CacheNode::create($tag);
4646
},
4747
];
4848
}

0 commit comments

Comments
 (0)