Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Blacklight/AniDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ public function __construct()
* @param string $rating
* @param string $categories
* @param string $characters
* @param $epnos
* @param $airdates
* @param $episodetitles
* @param $epnos
* @param $airdates
* @param $episodetitles
*/
public function updateTitle($anidbID, $title, $type, $startdate, $enddate, $related, $similar, $creators, $description, $rating, $categories, $characters, $epnos, $airdates, $episodetitles): void
{
Expand Down
10 changes: 5 additions & 5 deletions Blacklight/Books.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@ public function getBookInfoByName($title)
}

/**
* @param $page
* @param $cat
* @param $start
* @param $num
* @param $orderby
* @param $page
* @param $cat
* @param $start
* @param $num
* @param $orderby
* @param array $excludedcats
* @return array
*
Expand Down
2 changes: 1 addition & 1 deletion Blacklight/Categorize.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function __construct()
* Then work out which category is applicable for either a group or a binary.
* Returns Category::OTHER_MISC if no category is appropriate.
*
* @param $groupId
* @param $groupId
* @param string $releaseName
* @param string $poster
* @return array
Expand Down
10 changes: 5 additions & 5 deletions Blacklight/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ public function getConsoleInfoByName($title, $platform)
}

/**
* @param $page
* @param $cat
* @param $start
* @param $num
* @param $orderBy
* @param $page
* @param $cat
* @param $start
* @param $num
* @param $orderBy
* @param array $excludedCats
* @return array
*
Expand Down
6 changes: 3 additions & 3 deletions Blacklight/Games.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ public function getCount(): int

/**
* @param $page
* @param $cat
* @param $start
* @param $num
* @param $cat
* @param $start
* @param $num
* @param string|array $orderBy
* @param string $maxAge
* @param array $excludedCats
Expand Down
12 changes: 6 additions & 6 deletions Blacklight/Movie.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,11 @@ public function getMovieInfo($imdbId)
* Get movie releases with covers for movie browse page.
*
*
* @param $page
* @param $cat
* @param $start
* @param $num
* @param $orderBy
* @param $page
* @param $cat
* @param $start
* @param $num
* @param $orderBy
* @param int $maxAge
* @param array $excludedCats
* @return array|mixed
Expand Down Expand Up @@ -762,7 +762,7 @@ protected function fetchFanartTVProperties($imdbId)
* Fetch info for IMDB id from TMDB.
*
*
* @param $imdbId
* @param $imdbId
* @param bool $text
* @return array|false
*/
Expand Down
12 changes: 6 additions & 6 deletions Blacklight/Music.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ public function getMusicInfoByName($artist, $album)

/**
* @param $page
* @param $cat
* @param $start
* @param $num
* @param $orderBy
* @param $cat
* @param $start
* @param $num
* @param $orderBy
* @param array $excludedCats
* @return array
*
Expand Down Expand Up @@ -342,8 +342,8 @@ public function update($id, $title, $asin, $url, $salesrank, $artist, $publisher
}

/**
* @param $title
* @param $year
* @param $title
* @param $year
* @param null $amazdata
* @return int|mixed
*
Expand Down
2 changes: 1 addition & 1 deletion Blacklight/NZBVortex.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ protected function login()
/**
* sendRequest().
*
* @param $path
* @param $path
* @param array $params
* @return array
*
Expand Down
92 changes: 46 additions & 46 deletions Blacklight/NameFixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,8 @@ public function fixNamesWithSrr($time, $echo, $cats, $nameStatus, $show): void
* @param int $time 1: 24 hours, 2: no time limit
* @param int $echo 1: change the name, anything else: preview of what could have been changed.
* @param int $cats 1: other categories, 2: all categories
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
* @param NNTP $nntp
*
* @throws \Exception
Expand Down Expand Up @@ -910,11 +910,11 @@ protected function _echoRenamed(int $show): void
* Update the release with the new information.
*
*
* @param $release
* @param $name
* @param $method
* @param $echo
* @param $type
* @param $release
* @param $name
* @param $method
* @param $echo
* @param $type
* @param int $nameStatus
* @param bool $show
* @param int $preId
Expand Down Expand Up @@ -1273,7 +1273,7 @@ public function getPreFileNames(array $args = []): void
/**
* Match a release filename to a PreDB filename or title.
*
* @param $release
* @param $release
* @param bool $echo
* @param int $nameStatus
* @param bool $show
Expand Down Expand Up @@ -1351,10 +1351,10 @@ protected function _cleanMatchFiles(): string
* Match a Hash from the predb to a release.
*
* @param string $hash
* @param $release
* @param $echo
* @param $nameStatus
* @param $show
* @param $release
* @param $echo
* @param $nameStatus
* @param $show
* @return int
*
* @throws \Exception
Expand Down Expand Up @@ -1467,7 +1467,7 @@ public function parseTitles($time, $echo, $cats, $nameStatus, $show): int
/**
* Check the array using regex for a clean name.
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param int $nameStatus
Expand Down Expand Up @@ -1579,11 +1579,11 @@ public function _updateSingleColumn(string $column = '', int $status = 0, int $i
/**
* Look for a TV name.
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
*
* @throws \Exception
*/
Expand Down Expand Up @@ -1613,11 +1613,11 @@ public function tvCheck($release, $echo, $type, $nameStatus, $show): void
/**
* Look for a movie name.
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
*
* @throws \Exception
*/
Expand Down Expand Up @@ -1659,11 +1659,11 @@ public function movieCheck($release, bool $echo, string $type, $nameStatus, $sho
/**
* Look for a game name.
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
*
* @throws \Exception
*/
Expand All @@ -1689,11 +1689,11 @@ public function gameCheck($release, bool $echo, string $type, $nameStatus, $show
/**
* Look for a app name.
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
*
* @throws \Exception
*/
Expand All @@ -1713,11 +1713,11 @@ public function appCheck($release, bool $echo, string $type, $nameStatus, $show)
/**
* TV.
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
*
* @throws \Exception
*/
Expand All @@ -1737,11 +1737,11 @@ public function nfoCheckTV($release, bool $echo, string $type, $nameStatus, $sho
/**
* Movies.
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
*
* @throws \Exception
*/
Expand All @@ -1761,11 +1761,11 @@ public function nfoCheckMov($release, bool $echo, string $type, $nameStatus, $sh
}

/**
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
*
* @throws \Exception
*/
Expand All @@ -1782,11 +1782,11 @@ public function nfoCheckMus($release, bool $echo, string $type, $nameStatus, $sh
/**
* Title (year).
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
*
* @throws \Exception
*/
Expand Down Expand Up @@ -1959,11 +1959,11 @@ public function nfoCheckTY($release, bool $echo, string $type, $nameStatus, $sho
/**
* Games.
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
*
* @throws \Exception
*/
Expand All @@ -1989,11 +1989,11 @@ public function nfoCheckG($release, bool $echo, string $type, $nameStatus, $show
/**
* Misc.
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
*
* @throws \Exception
*/
Expand Down Expand Up @@ -2030,11 +2030,11 @@ public function nfoCheckMisc($release, bool $echo, string $type, $nameStatus, $s
/**
* Just for filenames.
*
* @param $release
* @param $release
* @param bool $echo
* @param string $type
* @param $nameStatus
* @param $show
* @param $nameStatus
* @param $show
* @return bool
*
* @throws \Exception
Expand Down
2 changes: 1 addition & 1 deletion Blacklight/Nfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public function addAlternateNfo(&$nfo, $release, $nntp): bool
/**
* Attempt to find NFO files inside the NZB's of releases.
*
* @param $nntp
* @param $nntp
* @param string $groupID (optional) Group ID.
* @param string $guidChar (optional) First character of the release GUID (used for multi-processing).
* @param int $processImdb (optional) Attempt to find IMDB id's in the NZB?
Expand Down
6 changes: 3 additions & 3 deletions Blacklight/ReleaseCleaning.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ public function __construct()
}

/**
* @param $subject
* @param $fromName
* @param $groupName
* @param $subject
* @param $fromName
* @param $groupName
* @param bool $usePre
* @return array|false|string
*
Expand Down
4 changes: 2 additions & 2 deletions Blacklight/ReleaseExtra.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function delete($id): void
}

/**
* @param $releaseID
* @param $releaseID
* @param \Mhor\MediaInfo\Container\MediaInfoContainer $arrXml
*/
public function addFromXml($releaseID, MediaInfoContainer $arrXml): void
Expand Down Expand Up @@ -400,7 +400,7 @@ public function deleteFull($id)
}

/**
* @param $id
* @param $id
* @param \Mhor\MediaInfo\Container\MediaInfoContainer $xmlArray
*/
public function addFull($id, MediaInfoContainer $xmlArray): void
Expand Down
Loading