mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17281] Update psalm config and fix issues
PHPBB3-17281
This commit is contained in:
@@ -25,7 +25,11 @@ class file_locator extends FileLocator
|
||||
|
||||
foreach ($paths as $path)
|
||||
{
|
||||
$absolute_paths[] = filesystem_helper::realpath($path);
|
||||
$path = filesystem_helper::realpath($path);
|
||||
if ($path !== false)
|
||||
{
|
||||
$absolute_paths[] = $path;
|
||||
}
|
||||
}
|
||||
|
||||
parent::__construct($absolute_paths);
|
||||
|
Reference in New Issue
Block a user