sf4, repair errors and make basic and admin chill pages works

This commit is contained in:
2020-07-30 17:34:45 +02:00
parent 7d9de642ff
commit 91edb14fb2
17 changed files with 126 additions and 77 deletions

View File

@@ -40,7 +40,9 @@ class RoleProvider
*
* @var array|null
*/
private $rolesTitlesCache = null;
private $rolesTitlesCache = [];
// sf4 check: mis [] au lieu de null
// pour éviter `Warning: array_key_exists() expects parameter 2 to be array, null given` L129
/**
* Add a role provider