summaryrefslogtreecommitdiff
path: root/classes/Sanitizer.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-06-14 13:47:14 +0300
committerAndrew Dolgov <fox@fakecake.org>2024-06-14 13:47:14 +0300
commitcc51487f080166b2a21eb529f1d4fc29994d9ff1 (patch)
treee87e5ce6c96a233b9f50c8fb456b02834a585ec1 /classes/Sanitizer.php
parent66db7dc0ac996f528f6ff9d71f3cc7ec30d65278 (diff)
parent9e6684e9277dace834ef10dab21c5b585f291675 (diff)
Merge branch 'master' into weblate-integration
Diffstat (limited to 'classes/Sanitizer.php')
-rw-r--r--classes/Sanitizer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Sanitizer.php b/classes/Sanitizer.php
index a7bea9e5f..2a5b031df 100644
--- a/classes/Sanitizer.php
+++ b/classes/Sanitizer.php
@@ -62,7 +62,7 @@ class Sanitizer {
*
* @return false|string The HTML, or false if an error occurred.
*/
- public static function sanitize(string $str, ?bool $force_remove_images = false, int $owner = null, string $site_url = null, array $highlight_words = null, int $article_id = null) {
+ public static function sanitize(string $str, ?bool $force_remove_images = false, ?int $owner = null, ?string $site_url = null, ?array $highlight_words = null, ?int $article_id = null) {
$span = OpenTelemetry\API\Trace\Span::getCurrent();
$span->addEvent("Sanitizer::sanitize");