Skip to content

Commit

Permalink
Update return type
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIII committed Jan 8, 2025
1 parent 74cac2d commit 2a00a08
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Blacklight/processing/Videos.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,9 @@ public function __construct()
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]);
Expand Down

0 comments on commit 2a00a08

Please sign in to comment.