Fixed some issues detected by PHPstan.

This commit is contained in:
Jan Böhmer 2020-02-01 17:00:03 +01:00
parent f2ff77a8b3
commit dd1f806c4e
30 changed files with 310 additions and 45 deletions

View file

@ -44,7 +44,7 @@ class PermissionResolver
/**
* PermissionResolver constructor.
*/
public function __construct(ParameterBagInterface $params, ContainerInterface $container)
public function __construct(ContainerInterface $container)
{
$cache_dir = $container->getParameter('kernel.cache_dir');
//Here the cached structure will be saved.