Skip to content

Commit f6ac446

Browse files
committed
minor symfony#12907 Update extending.rst (atailouloute)
This PR was merged into the 4.3 branch. Discussion ---------- Update extending.rst Commits ------- 0536c0a Update extending.rst
2 parents 9e7196c + 0536c0a commit f6ac446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: components/expression_language/extending.rst

+2-2
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)