Skip to content

Commit

Permalink
fix parameter type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Sep 20, 2023
1 parent 1b1a72d commit 969327b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/SiteContentDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];

Expand Down

0 comments on commit 969327b

Please sign in to comment.