From 969327bf1f45eff6cc39bed51a3b6a3dd8f3a75c Mon Sep 17 00:00:00 2001 From: sgiehl Date: Wed, 20 Sep 2023 08:46:30 +0200 Subject: [PATCH] fix parameter type hint --- core/SiteContentDetector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/SiteContentDetector.php b/core/SiteContentDetector.php index 7747c8014ea..84b9a60fa68 100644 --- a/core/SiteContentDetector.php +++ b/core/SiteContentDetector.php @@ -216,10 +216,10 @@ public function wasDetected(string $detectionClassId): bool /** * Returns an array containing ids of all detected detections of the given type * - * @param string $type One of the SiteContentDetectionAbstract::TYPE_* constants + * @param int $type One of the SiteContentDetectionAbstract::TYPE_* constants * @return array */ - public function getDetectsByType(string $type): array + public function getDetectsByType(int $type): array { $detected = [];