Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 2 additions & 0 deletions
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‎

Lines changed: 11 additions & 0 deletions
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‎

Lines changed: 11 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /