diff --git a/Blacklight/AniDB.php b/Blacklight/AniDB.php index 1b09d9605..7830affd1 100755 --- a/Blacklight/AniDB.php +++ b/Blacklight/AniDB.php @@ -33,9 +33,9 @@ class AniDB * @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 { diff --git a/Blacklight/Books.php b/Blacklight/Books.php index 8144c86b6..d751ed702 100755 --- a/Blacklight/Books.php +++ b/Blacklight/Books.php @@ -136,11 +136,11 @@ class Books } /** - * @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 * diff --git a/Blacklight/Categorize.php b/Blacklight/Categorize.php index a735e0041..900b24e21 100755 --- a/Blacklight/Categorize.php +++ b/Blacklight/Categorize.php @@ -79,7 +79,7 @@ class Categorize * 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 diff --git a/Blacklight/Console.php b/Blacklight/Console.php index b80ce2e55..8a183a9bd 100755 --- a/Blacklight/Console.php +++ b/Blacklight/Console.php @@ -149,11 +149,11 @@ class Console } /** - * @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 * diff --git a/Blacklight/Games.php b/Blacklight/Games.php index 77dcbc68a..6f27344ce 100755 --- a/Blacklight/Games.php +++ b/Blacklight/Games.php @@ -219,9 +219,9 @@ class Games /** * @param $page - * @param $cat - * @param $start - * @param $num + * @param $cat + * @param $start + * @param $num * @param string|array $orderBy * @param string $maxAge * @param array $excludedCats diff --git a/Blacklight/Movie.php b/Blacklight/Movie.php index 2a21dbc79..860a370db 100755 --- a/Blacklight/Movie.php +++ b/Blacklight/Movie.php @@ -213,11 +213,11 @@ class Movie * 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 @@ -762,7 +762,7 @@ class Movie * Fetch info for IMDB id from TMDB. * * - * @param $imdbId + * @param $imdbId * @param bool $text * @return array|false */ diff --git a/Blacklight/Music.php b/Blacklight/Music.php index 2a11d26ab..788b132a6 100755 --- a/Blacklight/Music.php +++ b/Blacklight/Music.php @@ -138,10 +138,10 @@ class Music /** * @param $page - * @param $cat - * @param $start - * @param $num - * @param $orderBy + * @param $cat + * @param $start + * @param $num + * @param $orderBy * @param array $excludedCats * @return array * @@ -342,8 +342,8 @@ class Music } /** - * @param $title - * @param $year + * @param $title + * @param $year * @param null $amazdata * @return int|mixed * diff --git a/Blacklight/NZBVortex.php b/Blacklight/NZBVortex.php index 97f4af252..32403a1c0 100755 --- a/Blacklight/NZBVortex.php +++ b/Blacklight/NZBVortex.php @@ -287,7 +287,7 @@ final class NZBVortex /** * sendRequest(). * - * @param $path + * @param $path * @param array $params * @return array * diff --git a/Blacklight/NameFixer.php b/Blacklight/NameFixer.php index edba2d6d8..177ffde15 100755 --- a/Blacklight/NameFixer.php +++ b/Blacklight/NameFixer.php @@ -536,8 +536,8 @@ class NameFixer * @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 @@ -910,11 +910,11 @@ class NameFixer * 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 @@ -1273,7 +1273,7 @@ class NameFixer /** * Match a release filename to a PreDB filename or title. * - * @param $release + * @param $release * @param bool $echo * @param int $nameStatus * @param bool $show @@ -1351,10 +1351,10 @@ class NameFixer * 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 @@ -1467,7 +1467,7 @@ class NameFixer /** * Check the array using regex for a clean name. * - * @param $release + * @param $release * @param bool $echo * @param string $type * @param int $nameStatus @@ -1579,11 +1579,11 @@ class NameFixer /** * 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 */ @@ -1613,11 +1613,11 @@ class NameFixer /** * 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 */ @@ -1659,11 +1659,11 @@ class NameFixer /** * 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 */ @@ -1689,11 +1689,11 @@ class NameFixer /** * 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 */ @@ -1713,11 +1713,11 @@ class NameFixer /** * TV. * - * @param $release + * @param $release * @param bool $echo * @param string $type - * @param $nameStatus - * @param $show + * @param $nameStatus + * @param $show * * @throws \Exception */ @@ -1737,11 +1737,11 @@ class NameFixer /** * Movies. * - * @param $release + * @param $release * @param bool $echo * @param string $type - * @param $nameStatus - * @param $show + * @param $nameStatus + * @param $show * * @throws \Exception */ @@ -1761,11 +1761,11 @@ class NameFixer } /** - * @param $release + * @param $release * @param bool $echo * @param string $type - * @param $nameStatus - * @param $show + * @param $nameStatus + * @param $show * * @throws \Exception */ @@ -1782,11 +1782,11 @@ class NameFixer /** * Title (year). * - * @param $release + * @param $release * @param bool $echo * @param string $type - * @param $nameStatus - * @param $show + * @param $nameStatus + * @param $show * * @throws \Exception */ @@ -1959,11 +1959,11 @@ class NameFixer /** * Games. * - * @param $release + * @param $release * @param bool $echo * @param string $type - * @param $nameStatus - * @param $show + * @param $nameStatus + * @param $show * * @throws \Exception */ @@ -1989,11 +1989,11 @@ class NameFixer /** * Misc. * - * @param $release + * @param $release * @param bool $echo * @param string $type - * @param $nameStatus - * @param $show + * @param $nameStatus + * @param $show * * @throws \Exception */ @@ -2030,11 +2030,11 @@ class NameFixer /** * 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 diff --git a/Blacklight/Nfo.php b/Blacklight/Nfo.php index 7fdf72a63..b8cfc0d0d 100755 --- a/Blacklight/Nfo.php +++ b/Blacklight/Nfo.php @@ -232,7 +232,7 @@ class Nfo /** * 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? diff --git a/Blacklight/ReleaseCleaning.php b/Blacklight/ReleaseCleaning.php index 814e8253b..4e4de4470 100755 --- a/Blacklight/ReleaseCleaning.php +++ b/Blacklight/ReleaseCleaning.php @@ -93,9 +93,9 @@ class ReleaseCleaning } /** - * @param $subject - * @param $fromName - * @param $groupName + * @param $subject + * @param $fromName + * @param $groupName * @param bool $usePre * @return array|false|string * diff --git a/Blacklight/ReleaseExtra.php b/Blacklight/ReleaseExtra.php index 01a845207..52a60a49c 100755 --- a/Blacklight/ReleaseExtra.php +++ b/Blacklight/ReleaseExtra.php @@ -111,7 +111,7 @@ class ReleaseExtra } /** - * @param $releaseID + * @param $releaseID * @param \Mhor\MediaInfo\Container\MediaInfoContainer $arrXml */ public function addFromXml($releaseID, MediaInfoContainer $arrXml): void @@ -400,7 +400,7 @@ class ReleaseExtra } /** - * @param $id + * @param $id * @param \Mhor\MediaInfo\Container\MediaInfoContainer $xmlArray */ public function addFull($id, MediaInfoContainer $xmlArray): void diff --git a/Blacklight/ReleaseImage.php b/Blacklight/ReleaseImage.php index a9ad65ac7..fe12a8360 100755 --- a/Blacklight/ReleaseImage.php +++ b/Blacklight/ReleaseImage.php @@ -71,7 +71,7 @@ class ReleaseImage } /** - * @param $imgLoc + * @param $imgLoc * @return bool|\Intervention\Image\Image */ protected function fetchImage($imgLoc) diff --git a/Blacklight/Releases.php b/Blacklight/Releases.php index b1771366f..302d57816 100644 --- a/Blacklight/Releases.php +++ b/Blacklight/Releases.php @@ -52,11 +52,11 @@ class Releases extends Release * Used for Browse results. * * - * @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 * @param array $tags @@ -382,7 +382,7 @@ class Releases extends Release /** * Get count for my shows page pagination. * - * @param $userShows + * @param $userShows * @param int $maxAge * @param array $excludedCats * @return int @@ -537,11 +537,11 @@ class Releases extends Release * * * @param array $searchArr - * @param $groupName - * @param $sizeFrom - * @param $sizeTo - * @param $daysNew - * @param $daysOld + * @param $groupName + * @param $sizeFrom + * @param $sizeTo + * @param $daysNew + * @param $daysOld * @param int $offset * @param int $limit * @param string|array $orderBy @@ -676,8 +676,8 @@ class Releases extends Release * Search function for API. * * - * @param $searchName - * @param $groupName + * @param $searchName + * @param $groupName * @param int $offset * @param int $limit * @param int $maxAge diff --git a/Blacklight/Tmux.php b/Blacklight/Tmux.php index ede49f56c..eccb66910 100755 --- a/Blacklight/Tmux.php +++ b/Blacklight/Tmux.php @@ -298,7 +298,7 @@ class Tmux * Returns random bool, weighted by $chance. * * - * @param $loop + * @param $loop * @param int $chance * @return bool * @@ -335,8 +335,8 @@ class Tmux } /** - * @param $qry - * @param $bookreqids + * @param $qry + * @param $bookreqids * @param string $db_name * @param string $ppmax * @param string $ppmin diff --git a/Blacklight/XXX.php b/Blacklight/XXX.php index 37ead74c4..b20ad047b 100755 --- a/Blacklight/XXX.php +++ b/Blacklight/XXX.php @@ -107,10 +107,10 @@ class XXX * Get XXX releases with covers for xxx browse page. * * @param $page - * @param $cat - * @param $start - * @param $num - * @param $orderBy + * @param $cat + * @param $start + * @param $num + * @param $orderBy * @param int $maxAge * @param array $excludedCats * @return array diff --git a/Blacklight/db/PreDb.php b/Blacklight/db/PreDb.php index 7a9a73b83..bef5aa802 100755 --- a/Blacklight/db/PreDb.php +++ b/Blacklight/db/PreDb.php @@ -188,7 +188,7 @@ SQL_EXPORT; } /** - * @param $filespec + * @param $filespec * @param bool $localDB */ public function import($filespec, $localDB = false) diff --git a/Blacklight/http/RSS.php b/Blacklight/http/RSS.php index 60fccf631..62d9857fd 100755 --- a/Blacklight/http/RSS.php +++ b/Blacklight/http/RSS.php @@ -42,10 +42,10 @@ class RSS extends Capabilities * Get releases for RSS. * * - * @param $cat + * @param $cat * @param int $offset - * @param $videosId - * @param $aniDbID + * @param $videosId + * @param $aniDbID * @param int $userID * @param int $airDate * @param int $limit diff --git a/Blacklight/processing/Videos.php b/Blacklight/processing/Videos.php index 3ae5aecad..b9a60f580 100755 --- a/Blacklight/processing/Videos.php +++ b/Blacklight/processing/Videos.php @@ -69,9 +69,9 @@ abstract class Videos * Main processing director function for scrapers * Calls work query function and initiates processing. * - * @param $groupID - * @param $guidChar - * @param $process + * @param $groupID + * @param $guidChar + * @param $process * @param bool $local */ abstract protected function processSite($groupID, $guidChar, $process, $local = false): void; @@ -239,8 +239,8 @@ abstract class Videos /** * Supplementary function for getByTitle that queries for a like match. * - * @param $title - * @param $type + * @param $title + * @param $type * @param int $source * @return array|false */ @@ -316,7 +316,7 @@ abstract class Videos /** * Inserts aliases for videos. * - * @param $videoId + * @param $videoId * @param array $aliases */ public function addAliases($videoId, array $aliases = []): void diff --git a/Blacklight/processing/tv/TMDB.php b/Blacklight/processing/tv/TMDB.php index cd7fe5837..53e1114d6 100644 --- a/Blacklight/processing/tv/TMDB.php +++ b/Blacklight/processing/tv/TMDB.php @@ -67,9 +67,9 @@ class TMDB extends TV * Main processing director function for TMDB * Calls work query function and initiates processing. * - * @param $groupID - * @param $guidChar - * @param $process + * @param $groupID + * @param $guidChar + * @param $process * @param bool $local */ public function processSite($groupID, $guidChar, $process, $local = false): void diff --git a/Blacklight/processing/tv/TV.php b/Blacklight/processing/tv/TV.php index b82ef1138..f8eaf24c7 100755 --- a/Blacklight/processing/tv/TV.php +++ b/Blacklight/processing/tv/TV.php @@ -174,8 +174,8 @@ abstract class TV extends Videos /** * Updates the release when match for the current scraper is found. * - * @param $videoId - * @param $releaseId + * @param $videoId + * @param $releaseId * @param int $episodeId */ public function setVideoIdFound($videoId, $releaseId, $episodeId): void @@ -398,9 +398,9 @@ abstract class TV extends Videos * * Returns the Episode ID or false if not found * - * @param $id - * @param $series - * @param $episode + * @param $id + * @param $series + * @param $episode * @param string $airdate * @return int|false */ diff --git a/Blacklight/processing/tv/TVDB.php b/Blacklight/processing/tv/TVDB.php index aa839f8c6..23c9fcb87 100755 --- a/Blacklight/processing/tv/TVDB.php +++ b/Blacklight/processing/tv/TVDB.php @@ -70,9 +70,9 @@ class TVDB extends TV * Main processing director function for scrapers * Calls work query function and initiates processing. * - * @param $groupID - * @param $guidChar - * @param $process + * @param $groupID + * @param $guidChar + * @param $process * @param bool $local */ public function processSite($groupID, $guidChar, $process, $local = false): void diff --git a/Blacklight/processing/tv/TVMaze.php b/Blacklight/processing/tv/TVMaze.php index 2d6b2396c..ee0961bf2 100644 --- a/Blacklight/processing/tv/TVMaze.php +++ b/Blacklight/processing/tv/TVMaze.php @@ -55,9 +55,9 @@ class TVMaze extends TV * Main processing director function for scrapers * Calls work query function and initiates processing. * - * @param $groupID - * @param $guidChar - * @param $process + * @param $groupID + * @param $guidChar + * @param $process * @param bool $local */ public function processSite($groupID, $guidChar, $process, $local = false): void diff --git a/Blacklight/processing/tv/TraktTv.php b/Blacklight/processing/tv/TraktTv.php index e50312f7f..0aa70fdb5 100755 --- a/Blacklight/processing/tv/TraktTv.php +++ b/Blacklight/processing/tv/TraktTv.php @@ -68,9 +68,9 @@ class TraktTv extends TV * Main processing director function for scrapers * Calls work query function and initiates processing. * - * @param $groupID - * @param $guidChar - * @param $process + * @param $groupID + * @param $guidChar + * @param $process * @param bool $local */ public function processSite($groupID, $guidChar, $process, $local = false): void diff --git a/Blacklight/utility/Utility.php b/Blacklight/utility/Utility.php index d62efeb24..ac021a7bd 100755 --- a/Blacklight/utility/Utility.php +++ b/Blacklight/utility/Utility.php @@ -513,7 +513,7 @@ class Utility /** * Convert obj to array. * - * @param $arrObjData + * @param $arrObjData * @param array $arrSkipIndices * @return array */ diff --git a/app/Extensions/helper/helpers.php b/app/Extensions/helper/helpers.php index 45ee13efb..de8a733a1 100644 --- a/app/Extensions/helper/helpers.php +++ b/app/Extensions/helper/helpers.php @@ -17,7 +17,7 @@ use Zip as ZipStream; if (! function_exists('getRawHtml')) { /** - * @param $url + * @param $url * @param bool $cookie * @return bool|mixed|string */ @@ -207,7 +207,7 @@ if (! function_exists('color')) { if (! function_exists('human_filesize')) { /** - * @param $bytes + * @param $bytes * @param int $decimals * @return string */ diff --git a/app/Extensions/util/PhpYenc.php b/app/Extensions/util/PhpYenc.php index 835f88cb3..c3a137354 100644 --- a/app/Extensions/util/PhpYenc.php +++ b/app/Extensions/util/PhpYenc.php @@ -26,7 +26,7 @@ namespace App\Extensions\util; class PhpYenc { /** - * @param $text + * @param $text * @param bool $ignore * @return bool|string */ @@ -136,8 +136,8 @@ class PhpYenc } /** - * @param $data - * @param $filename + * @param $data + * @param $filename * @param int $lineLength * @param bool $crc32 * @return string diff --git a/app/Mail/PasswordReset.php b/app/Mail/PasswordReset.php index 4a6d7a64a..99f3c09ec 100644 --- a/app/Mail/PasswordReset.php +++ b/app/Mail/PasswordReset.php @@ -34,7 +34,7 @@ class PasswordReset extends Mailable * PasswordReset constructor. * * @param \App\Models\User $user - * @param $newPass + * @param $newPass */ public function __construct($user, $newPass) { diff --git a/app/Mail/SendInvite.php b/app/Mail/SendInvite.php index 95af78340..5a123552c 100644 --- a/app/Mail/SendInvite.php +++ b/app/Mail/SendInvite.php @@ -34,7 +34,7 @@ class SendInvite extends Mailable * SendInvite constructor. * * @param \App\Models\User $user - * @param $invite + * @param $invite */ public function __construct($user, $invite) { diff --git a/app/Models/Release.php b/app/Models/Release.php index 04c9baa9c..6de3a976a 100644 --- a/app/Models/Release.php +++ b/app/Models/Release.php @@ -323,8 +323,8 @@ class Release extends Model * @param int $size * @param string $postedDate * @param string $addedDate - * @param $videoId - * @param $episodeId + * @param $videoId + * @param $episodeId * @param int $imDbId * @param int $aniDbId * @param string $tags diff --git a/app/Models/ReleaseFile.php b/app/Models/ReleaseFile.php index c3791028f..b37e47459 100644 --- a/app/Models/ReleaseFile.php +++ b/app/Models/ReleaseFile.php @@ -89,11 +89,11 @@ class ReleaseFile extends Model * Add new files for a release ID. * * - * @param $id - * @param $name - * @param $size - * @param $createdTime - * @param $hasPassword + * @param $id + * @param $name + * @param $size + * @param $createdTime + * @param $hasPassword * @param string $hash * @param string $crc * @return int diff --git a/app/Models/User.php b/app/Models/User.php index fd8c1f916..b6fdbfe45 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -446,9 +446,9 @@ class User extends Authenticatable } /** - * @param $start - * @param $offset - * @param $orderBy + * @param $start + * @param $offset + * @param $orderBy * @param string $userName * @param string $email * @param string $host @@ -626,7 +626,7 @@ class User extends Authenticatable } /** - * @param $id + * @param $id * @param int $num */ public static function incrementGrabs(int $id, $num = 1): void @@ -695,11 +695,11 @@ class User extends Authenticatable /** * Register a new user. * - * @param $userName - * @param $password - * @param $email - * @param $host - * @param $notes + * @param $userName + * @param $password + * @param $email + * @param $host + * @param $notes * @param int $invites * @param string $inviteCode * @param bool $forceInviteMode diff --git a/app/Models/UserMovie.php b/app/Models/UserMovie.php index 7f27a0219..028801a41 100644 --- a/app/Models/UserMovie.php +++ b/app/Models/UserMovie.php @@ -39,8 +39,8 @@ class UserMovie extends Model protected $dateFormat = false; /** - * @param $uid - * @param $imdbid + * @param $uid + * @param $imdbid * @param array $catID * @return int|\Illuminate\Database\Eloquent\Builder */ diff --git a/app/Models/UserSerie.php b/app/Models/UserSerie.php index 2ad5bcfd0..89c427b17 100644 --- a/app/Models/UserSerie.php +++ b/app/Models/UserSerie.php @@ -139,8 +139,8 @@ class UserSerie extends Model /** * Update a TV show category ID for a user's "my show" TV show. * - * @param $users_id - * @param $videos_id + * @param $users_id + * @param $videos_id * @param array $catID List of category ID's. */ public static function updateShow($users_id, $videos_id, array $catID = []): void diff --git a/app/Models/Video.php b/app/Models/Video.php index b5eba1ea7..7fbef4733 100644 --- a/app/Models/Video.php +++ b/app/Models/Video.php @@ -141,7 +141,7 @@ class Video extends Model /** * Retrieves and returns a list of shows with eligible releases. * - * @param $uid + * @param $uid * @param string $letter * @param string $showname * @return array diff --git a/misc/update/tmux/monitor.php b/misc/update/tmux/monitor.php index 9bb01eb09..77928988b 100644 --- a/misc/update/tmux/monitor.php +++ b/misc/update/tmux/monitor.php @@ -408,7 +408,7 @@ function errorOnSQL() /** * @param \PDOStatement $ps - * @param $table + * @param $table * @return bool|int|string */ function getTableRowCount(\PDOStatement $ps, $table)