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:
@@ -33,7 +33,7 @@ final class HtmlSanitizerExtension extends AbstractExtension
|
||||
];
|
||||
}
|
||||
|
||||
public function sanitize(string $html, string $sanitizer = null): string
|
||||
public function sanitize(string $html, ?string $sanitizer = null): string
|
||||
{
|
||||
return $this->sanitizers->get($sanitizer ?? $this->defaultSanitizer)->sanitize($html);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user