mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38: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:
@@ -30,7 +30,7 @@ class FileLocator extends BaseFileLocator
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function locate(string $file, string $currentPath = null, bool $first = true): string|array
|
||||
public function locate(string $file, ?string $currentPath = null, bool $first = true): string|array
|
||||
{
|
||||
if (isset($file[0]) && '@' === $file[0]) {
|
||||
$resource = $this->kernel->locateResource($file);
|
||||
|
||||
Reference in New Issue
Block a user