mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-31 12:37:15 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user