mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°8017 - Security - dependabot - Symfony's VarDumper vulnerable to un… (#731)
Upgrade all Symfony components to last security fix (~6.4.0)
This commit is contained in:
@@ -176,7 +176,7 @@ class AppVariable
|
||||
* * getFlashes('notice') returns a simple array with flash messages of that type
|
||||
* * getFlashes(['notice', 'error']) returns a nested array of type => messages.
|
||||
*/
|
||||
public function getFlashes(string|array $types = null): array
|
||||
public function getFlashes(string|array|null $types = null): array
|
||||
{
|
||||
try {
|
||||
if (null === $session = $this->getSession()) {
|
||||
|
||||
Reference in New Issue
Block a user