Skip to content

Commit

Permalink
added missing type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jul 6, 2017
1 parent 0f20360 commit b6bd608
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Core/Authorization/ExpressionLanguage.php
Expand Up @@ -11,6 +11,7 @@

namespace Symfony\Component\Security\Core\Authorization;

use Psr\Cache\CacheItemPoolInterface;
use Symfony\Component\ExpressionLanguage\ExpressionLanguage as BaseExpressionLanguage;

/**
Expand All @@ -25,7 +26,7 @@ class ExpressionLanguage extends BaseExpressionLanguage
/**
* {@inheritdoc}
*/
public function __construct($cache = null, array $providers = array())
public function __construct(CacheItemPoolInterface $cache = null, array $providers = array())
{
// prepend the default provider to let users override it easily
array_unshift($providers, new ExpressionLanguageProvider());
Expand Down

0 comments on commit b6bd608

Please sign in to comment.