mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -287,7 +287,7 @@ final class NZBVortex
|
||||
/**
|
||||
* sendRequest().
|
||||
*
|
||||
* @param $path
|
||||
* @param $path
|
||||
* @param array $params
|
||||
* @return array
|
||||
*
|
||||
|
||||
+46
-46
@@ -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
|
||||
|
||||
+1
-1
@@ -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?
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -71,7 +71,7 @@ class ReleaseImage
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $imgLoc
|
||||
* @param $imgLoc
|
||||
* @return bool|\Intervention\Image\Image
|
||||
*/
|
||||
protected function fetchImage($imgLoc)
|
||||
|
||||
+13
-13
@@ -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
|
||||
|
||||
+3
-3
@@ -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
|
||||
|
||||
+4
-4
@@ -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
|
||||
|
||||
@@ -188,7 +188,7 @@ SQL_EXPORT;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $filespec
|
||||
* @param $filespec
|
||||
* @param bool $localDB
|
||||
*/
|
||||
public function import($filespec, $localDB = false)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -513,7 +513,7 @@ class Utility
|
||||
/**
|
||||
* Convert obj to array.
|
||||
*
|
||||
* @param $arrObjData
|
||||
* @param $arrObjData
|
||||
* @param array $arrSkipIndices
|
||||
* @return array
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -34,7 +34,7 @@ class PasswordReset extends Mailable
|
||||
* PasswordReset constructor.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param $newPass
|
||||
* @param $newPass
|
||||
*/
|
||||
public function __construct($user, $newPass)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ class SendInvite extends Mailable
|
||||
* SendInvite constructor.
|
||||
*
|
||||
* @param \App\Models\User $user
|
||||
* @param $invite
|
||||
* @param $invite
|
||||
*/
|
||||
public function __construct($user, $invite)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+9
-9
@@ -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
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -408,7 +408,7 @@ function errorOnSQL()
|
||||
|
||||
/**
|
||||
* @param \PDOStatement $ps
|
||||
* @param $table
|
||||
* @param $table
|
||||
* @return bool|int|string
|
||||
*/
|
||||
function getTableRowCount(\PDOStatement $ps, $table)
|
||||
|
||||
Reference in New Issue
Block a user