mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +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:
@@ -25,10 +25,12 @@ interface FileLocatorInterface
|
||||
* @param string|null $currentPath The current path
|
||||
* @param bool $first Whether to return the first occurrence or an array of filenames
|
||||
*
|
||||
* @return string|array The full path to the file or an array of file paths
|
||||
* @return string|string[] The full path to the file or an array of file paths
|
||||
*
|
||||
* @throws \InvalidArgumentException If $name is empty
|
||||
* @throws FileLocatorFileNotFoundException If a file is not found
|
||||
*
|
||||
* @psalm-return ($first is true ? string : string[])
|
||||
*/
|
||||
public function locate(string $name, string $currentPath = null, bool $first = true);
|
||||
public function locate(string $name, ?string $currentPath = null, bool $first = true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user