mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°8834 - Add compatibility with PHP 8.4 (#819)
* N°8834 - Add compatibility with PHP 8.4 * Rollback of scssphp/scssphp version upgrade due to compilation error
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