mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +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:
@@ -25,7 +25,7 @@ interface LoaderInterface
|
||||
*
|
||||
* @throws \Exception If something went wrong
|
||||
*/
|
||||
public function load(mixed $resource, string $type = null);
|
||||
public function load(mixed $resource, ?string $type = null);
|
||||
|
||||
/**
|
||||
* Returns whether this class supports the given resource.
|
||||
@@ -34,7 +34,7 @@ interface LoaderInterface
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function supports(mixed $resource, string $type = null);
|
||||
public function supports(mixed $resource, ?string $type = null);
|
||||
|
||||
/**
|
||||
* Gets the loader resolver.
|
||||
|
||||
Reference in New Issue
Block a user