Skip to content

Commit 1504153

Browse files
emodricondrejmirtes
authored andcommitted
Add stubs for Twig Node and Symfony ParameterBag
1 parent d8313ec commit 1504153

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

extension.neon

+2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ parameters:
2424
- stubs/FormTypeInterface.stub
2525
- stubs/FormView.stub
2626
- stubs/HeaderBag.stub
27+
- stubs/Node.stub
2728
- stubs/NormalizableInterface.stub
2829
- stubs/NormalizerInterface.stub
30+
- stubs/ParameterBag.stub
2931
- stubs/Process.stub
3032
- stubs/Session.stub
3133

stubs/Node.stub

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace Twig\Node;
4+
5+
/**
6+
* @implements \IteratorAggregate<string, self>
7+
*/
8+
class Node implements \IteratorAggregate
9+
{
10+
11+
}

stubs/ParameterBag.stub

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace Symfony\Component\HttpFoundation;
4+
5+
/**
6+
* @implements \IteratorAggregate<string, mixed>
7+
*/
8+
class ParameterBag implements \IteratorAggregate
9+
{
10+
11+
}

0 commit comments

Comments
 (0)