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

Appearance settings

Commit 9f5e3d5

Browse filesBrowse files
committed
Merge branch '4.4' into 5.0
* 4.4: Update extending.rst
2 parents ee4e0f5 + c0cea58 commit 9f5e3d5
Copy full SHA for 9f5e3d5

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎components/expression_language/extending.rst

Copy file name to clipboardExpand all lines: components/expression_language/extending.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ or by using the second argument of the constructor::
125125

126126
class ExpressionLanguage extends BaseExpressionLanguage
127127
{
128-
public function __construct(CacheItemPoolInterface $parser = null, array $providers = [])
128+
public function __construct(CacheItemPoolInterface $cache = null, array $providers = [])
129129
{
130130
// prepends the default provider to let users override it
131131
array_unshift($providers, new StringExpressionLanguageProvider());
132132

133-
parent::__construct($parser, $providers);
133+
parent::__construct($cache, $providers);
134134
}
135135
}
136136

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.