File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/expression_language Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,12 +120,12 @@ or by using the second argument of the constructor::
120120 It is recommended to create your own ``ExpressionLanguage `` class in your
121121 library. Now you can add the extension by overriding the constructor::
122122
123+ use Psr\Cache\CacheItemPoolInterface;
123124 use Symfony\Component\ExpressionLanguage\ExpressionLanguage as BaseExpressionLanguage;
124- use Symfony\Component\ExpressionLanguage\ParserCache\ParserCacheInterface;
125125
126126 class ExpressionLanguage extends BaseExpressionLanguage
127127 {
128- public function __construct(ParserCacheInterface $parser = null, array $providers = array())
128+ public function __construct(CacheItemPoolInterface $parser = null, array $providers = array())
129129 {
130130 // prepends the default provider to let users override it easily
131131 array_unshift($providers, new StringExpressionLanguageProvider());
You can’t perform that action at this time.
0 commit comments