From 2a00a0833813662050931cc0610c4ca38f5fa5ca Mon Sep 17 00:00:00 2001 From: DariusIII Date: Wed, 8 Jan 2025 22:27:11 +0100 Subject: [PATCH] Update return type --- Blacklight/processing/Videos.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Blacklight/processing/Videos.php b/Blacklight/processing/Videos.php index 9cefe505a..3cd7e182e 100755 --- a/Blacklight/processing/Videos.php +++ b/Blacklight/processing/Videos.php @@ -65,11 +65,9 @@ abstract class Videos abstract protected function processSite(int $groupID, string $guidChar, int $process, bool $local = false): void; /** - * Get video info from a Video ID and column. - * - * @return array|false False if invalid site, or ID not found; Site id value otherwise. + * @return false|mixed */ - protected function getSiteIDFromVideoID(string $siteColumn, int $videoID): bool|array + protected function getSiteIDFromVideoID(string $siteColumn, int $videoID): mixed { if (\in_array($siteColumn, self::$sites, false)) { $result = Video::query()->where('id', $videoID)->first([$siteColumn]);