minor #4254 Remove NodeCaptureInterface from TypesNode (ruudk)

This PR was merged into the 3.x branch.

Discussion
----------

Remove NodeCaptureInterface from TypesNode

This was accidentally copied from SetNode

Commits
-------

5e3f9d9f Remove NodeCaptureInterface from TypesNode
This commit is contained in:
Fabien Potencier
2024-08-29 20:08:45 +02:00
+1 -1
View File
@@ -11,7 +11,7 @@ use Twig\Compiler;
* @author Jeroen Versteeg <jeroen@alisqi.com>
*/
#[YieldReady]
class TypesNode extends Node implements NodeCaptureInterface
class TypesNode extends Node
{
/**
* @param array<string, array{type: string, optional: bool}> $types