From 71e1631df6881335dd93e8f1d62f71f5b6fdecd4 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 30 Mar 2023 14:15:45 +0000 Subject: [PATCH] Remove redundant typing from DocBlocks --- Blacklight/Books.php | 3 -- Blacklight/Console.php | 7 ---- Blacklight/Genres.php | 6 --- Blacklight/IRCClient.php | 21 ---------- Blacklight/IRCScraper.php | 3 -- Blacklight/Movie.php | 15 ------- Blacklight/Music.php | 3 -- Blacklight/NNTP.php | 3 -- Blacklight/NZBContents.php | 6 --- Blacklight/NZBImport.php | 3 -- Blacklight/NameFixer.php | 2 - Blacklight/Regexes.php | 11 ----- Blacklight/ReleaseCleaning.php | 4 -- Blacklight/ReleaseExtra.php | 7 ---- Blacklight/ReleaseRemover.php | 6 --- Blacklight/Releases.php | 2 - Blacklight/Tmux.php | 7 ---- Blacklight/XXX.php | 2 - Blacklight/libraries/Geary.php | 7 ---- Blacklight/processing/adult/ADE.php | 2 - Blacklight/processing/adult/ADM.php | 3 -- Blacklight/processing/adult/AEBN.php | 4 -- Blacklight/processing/adult/Hotmovies.php | 3 -- Blacklight/processing/adult/Popporn.php | 4 -- Blacklight/processing/post/AniDB.php | 3 -- Blacklight/processing/tv/TMDB.php | 8 ---- Blacklight/processing/tv/TVDB.php | 2 - Blacklight/processing/tv/TVMaze.php | 8 ---- Blacklight/processing/tv/TraktTv.php | 5 --- Blacklight/utility/Country.php | 1 - .../Commands/NntmuxDeleteUnVerifiedUsers.php | 2 - .../Commands/NntmuxPopulateSearchIndexes.php | 6 --- .../Commands/NntmuxRemoveBadReleases.php | 1 - .../Commands/NntmuxResetPostProcessing.php | 2 - .../Commands/NntmuxUpdateExpiredRoles.php | 2 - app/Console/Kernel.php | 4 -- app/Exceptions/Handler.php | 3 -- app/Extensions/util/PhpYenc.php | 3 -- app/Http/Controllers/Auth/LoginController.php | 1 - app/Http/Controllers/BasePageController.php | 3 -- app/Http/Middleware/Authenticate.php | 3 -- app/Http/Middleware/ClearanceMiddleware.php | 2 - app/Http/Middleware/Google2FAMiddleware.php | 3 -- .../Middleware/RedirectIfAuthenticated.php | 4 -- app/Http/Requests/Auth/LoginLoginRequest.php | 2 - .../Requests/Auth/RegisterRegisterRequest.php | 2 - ...owLinkRequestFormForgotPasswordRequest.php | 2 - app/Http/Requests/ContactContactURequest.php | 2 - .../Disable2faPasswordSecurityRequest.php | 2 - app/Jobs/RemoveInactiveAccounts.php | 2 - app/Jobs/SendAccountChangedEmail.php | 4 -- app/Jobs/SendAccountDeletedEmail.php | 4 -- app/Jobs/SendAccountExpiredEmail.php | 4 -- app/Jobs/SendAccountWillExpireEmail.php | 2 - app/Jobs/SendInviteEmail.php | 2 - app/Jobs/SendNewRegisteredAccountMail.php | 4 -- app/Jobs/SendPasswordForgottenEmail.php | 4 -- app/Jobs/SendPasswordResetEmail.php | 5 --- app/Jobs/SendWelcomeEmail.php | 4 -- app/Listeners/UpdateUserAccessedApi.php | 2 - app/Listeners/UpdateUserLoggedIn.php | 2 - app/Mail/AccountChange.php | 3 -- app/Mail/AccountDeleted.php | 1 - app/Mail/AccountExpired.php | 1 - app/Mail/AccountWillExpire.php | 2 - app/Mail/ContactUs.php | 1 - app/Mail/ForgottenPassword.php | 1 - app/Mail/NewAccountCreatedEmail.php | 2 - app/Mail/PasswordReset.php | 3 -- app/Mail/SendInvite.php | 3 -- app/Mail/WelcomeEmail.php | 4 -- app/Models/AnidbInfo.php | 6 --- app/Models/BookInfo.php | 6 --- app/Models/Category.php | 9 ----- app/Models/Forumpost.php | 6 --- app/Models/GamesInfo.php | 6 --- app/Models/MusicInfo.php | 6 --- app/Models/Predb.php | 8 ---- app/Models/PredbHash.php | 3 -- app/Models/Release.php | 40 ------------------- app/Models/ReleaseComment.php | 15 ------- app/Models/ReleaseFile.php | 2 - app/Models/ReleaseNfo.php | 1 - app/Models/Settings.php | 1 - app/Models/SteamApp.php | 6 --- app/Models/TvEpisode.php | 3 -- app/Models/UsenetGroup.php | 11 ----- app/Models/User.php | 31 -------------- app/Models/UserDownload.php | 7 ---- app/Models/UserRequest.php | 4 -- app/Models/UserSerie.php | 3 -- app/Models/Video.php | 19 --------- app/Models/VideoAlias.php | 3 -- app/Observers/UserServiceObserver.php | 1 - app/Providers/AppServiceProvider.php | 4 -- app/Providers/AuthServiceProvider.php | 2 - app/Providers/BroadcastServiceProvider.php | 2 - app/Providers/EventServiceProvider.php | 2 - app/Providers/HorizonServiceProvider.php | 6 --- app/Providers/RouteServiceProvider.php | 10 ----- app/Providers/TelescopeServiceProvider.php | 6 --- app/Providers/UserServiceProvider.php | 4 -- database/factories/ReleaseFactory.php | 2 - .../2014_01_16_195548_create_users_table.php | 4 -- ...014_02_01_311070_create_firewall_table.php | 4 -- ..._01_17_150719_create_permission_tables.php | 4 -- ...8_01_17_154034_create_categories_table.php | 4 -- ...8_101314_create_category_regexes_table.php | 4 -- ...102213_create_collection_regexes_table.php | 4 -- ...18_102716_create_binaryblacklist_table.php | 4 -- ...2018_01_18_103104_create_content_table.php | 4 -- ...18_01_18_103520_create_forumpost_table.php | 4 -- .../2018_01_18_103816_create_genres_table.php | 4 -- ...1_18_104345_create_usenet_groups_table.php | 4 -- ...55_create_release_naming_regexes_table.php | 4 -- ...018_01_18_105834_create_settings_table.php | 4 -- ..._01_20_195500_create_collections_table.php | 4 -- ...018_01_20_195528_create_releases_table.php | 4 -- ..._20_195604_create_anidb_episodes_table.php | 4 -- ...8_01_20_195615_create_anidb_info_table.php | 4 -- ...01_20_195624_create_anidb_titles_table.php | 4 -- ...8_01_20_195636_create_audio_data_table.php | 4 -- ...018_01_20_195648_create_binaries_table.php | 4 -- ...018_01_20_195703_create_bookinfo_table.php | 4 -- ..._01_20_195716_create_consoleinfo_table.php | 4 -- ...1_20_195728_create_dnzb_failures_table.php | 4 -- ...18_01_20_195739_create_gamesinfo_table.php | 4 -- ..._01_20_195752_create_invitations_table.php | 4 -- ...2018_01_20_195801_create_logging_table.php | 4 -- ...01_20_195812_create_missed_parts_table.php | 4 -- ...18_01_20_195822_create_movieinfo_table.php | 4 -- ...18_01_20_195832_create_musicinfo_table.php | 4 -- ...8_01_20_195915_create_par_hashes_table.php | 4 -- .../2018_01_20_195925_create_parts_table.php | 4 -- .../2018_01_20_195934_create_predb_table.php | 4 -- ...01_20_195946_create_predb_hashes_table.php | 4 -- ...1_20_195954_create_predb_imports_table.php | 4 -- ...0_200005_create_release_comments_table.php | 4 -- ...20_200018_create_releases_groups_table.php | 4 -- ...20_200030_create_release_regexes_table.php | 4 -- ..._20_200038_create_release_unique_table.php | 4 -- ...0_200046_create_releaseextrafull_table.php | 4 -- ...1_20_200056_create_release_files_table.php | 4 -- ...01_20_200104_create_release_nfos_table.php | 4 -- ..._200124_create_release_subtitles_table.php | 4 -- ...01_20_200151_create_short_groups_table.php | 4 -- ...8_01_20_200200_create_steam_apps_table.php | 4 -- ..._01_20_200211_create_tv_episodes_table.php | 4 -- ...2018_01_20_200218_create_tv_info_table.php | 4 -- ..._20_200237_create_users_releases_table.php | 4 -- ..._20_200248_create_user_downloads_table.php | 4 -- ..._01_20_200318_create_user_movies_table.php | 4 -- ...1_20_200328_create_user_requests_table.php | 4 -- ..._01_20_200336_create_user_series_table.php | 4 -- ...8_01_20_200346_create_video_data_table.php | 4 -- .../2018_01_20_200353_create_videos_table.php | 4 -- ..._20_200403_create_videos_aliases_table.php | 4 -- ...2018_01_20_200417_create_xxxinfo_table.php | 4 -- ...018_01_22_220858_add_stored_procedures.php | 4 -- .../2018_04_24_132758_create_cache_table.php | 4 -- ..._100000_create_telescope_entries_table.php | 4 -- ..._070520_add_verification_to_user_table.php | 6 --- ..._02_20_102034_create_failed_jobs_table.php | 4 -- ...11_234818_create_root_categories_table.php | 4 -- ...9_03_12_090532_change_categories_table.php | 4 -- ...12_093837_add_foreign_categories_table.php | 4 -- ...019_04_04_130055_update_releases_table.php | 4 -- ...19_04_04_150842_update_movieinfo_table.php | 4 -- ..._04_04_152238_update_user_movies_table.php | 4 -- ...12_create_role_expiration_emails_table.php | 4 -- ...06_140408_create_invitation_user_table.php | 4 -- ...change_passwordststatus_releases_table.php | 4 -- ...10_231045_create_paypal_payments_table.php | 4 -- ...3_update_tv_episodes_firstaired_column.php | 4 -- ...05920_add_timestamps_to_videos_aliases.php | 4 -- ...190950_update_imdb_column_videos_table.php | 4 -- ...7_001831_add_unique_index_to_api_token.php | 4 -- ...449_add_timezone_column_to_users_table.php | 4 -- .../2020_03_07_213224_remove_text_hash.php | 4 -- ...09_223527_create_release_informs_table.php | 4 -- .../2020_08_08_212118_create_jobs_table.php | 4 -- ...7_163455_add_uuid_to_failed_jobs_table.php | 4 -- ...14949_create_password_securities_table.php | 4 -- ...add_timestamps_columns_to_missed_parts.php | 4 -- .../seeders/BinaryblacklistTableSeeder.php | 2 - database/seeders/CategoriesTableSeeder.php | 2 - .../seeders/CategoryRegexesTableSeeder.php | 2 - .../seeders/CollectionRegexesTableSeeder.php | 2 - database/seeders/ContentTableSeeder.php | 2 - database/seeders/DatabaseSeeder.php | 2 - database/seeders/GenresTableSeeder.php | 2 - database/seeders/GroupsTableSeeder.php | 2 - .../ReleaseNamingRegexesTableSeeder.php | 2 - .../seeders/RolesAndPermissionsSeeder.php | 2 - database/seeders/SettingsTableSeeder.php | 2 - tests/CreatesApplication.php | 2 - 196 files changed, 855 deletions(-) diff --git a/Blacklight/Books.php b/Blacklight/Books.php index f97d6a97e..abc579dde 100755 --- a/Blacklight/Books.php +++ b/Blacklight/Books.php @@ -93,9 +93,6 @@ class Books return BookInfo::query()->where('id', $id)->first(); } - /** - * @return \Illuminate\Database\Eloquent\Model - */ public function getBookInfoByName($title): Model { //only used to get a count of words diff --git a/Blacklight/Console.php b/Blacklight/Console.php index 1b5c48474..b7eb4340e 100755 --- a/Blacklight/Console.php +++ b/Blacklight/Console.php @@ -121,8 +121,6 @@ class Console } /** - * @param string $title - * @param string $platform * @return false|\Illuminate\Database\Eloquent\Model */ public function getConsoleInfoByName(string $title, string $platform) @@ -297,9 +295,6 @@ class Console return $browseBy; } - /** - * @param string $review - */ public function update($id, $title, $asin, $url, $salesrank, $platform, $publisher, $releasedate, $esrb, $cover, $genres_id, string $review = 'review'): void { $releasedate = $releasedate !== '' ? $releasedate : 'null'; @@ -512,8 +507,6 @@ class Console /** * This function sets the platform retrieved * from the release to the Amazon equivalent. - * - * @param string $platform */ protected function _replacePlatform(string $platform): string { diff --git a/Blacklight/Genres.php b/Blacklight/Genres.php index 872a7c581..67b94edc3 100755 --- a/Blacklight/Genres.php +++ b/Blacklight/Genres.php @@ -37,8 +37,6 @@ class Genres } /** - * @param string $type - * @param bool $activeOnly * @return array|mixed */ public function getGenres(string $type = '', bool $activeOnly = false) @@ -66,10 +64,6 @@ class Genres return $genresArray; } - /** - * @param string $type - * @param bool $activeOnly - */ private function getListQuery(string $type = '', bool $activeOnly = false): string { if (! empty($type)) { diff --git a/Blacklight/IRCClient.php b/Blacklight/IRCClient.php index 27455132e..3e7e36230 100755 --- a/Blacklight/IRCClient.php +++ b/Blacklight/IRCClient.php @@ -213,8 +213,6 @@ class IRCClient /** * Amount of times to retry before giving up when connecting. - * - * @param int $retries */ public function setConnectionRetries(int $retries) { @@ -245,7 +243,6 @@ class IRCClient * @param string $hostname Host name of the IRC server (can be a IP or a name). * @param int $port Port number of the IRC server. * @param bool $tls Use encryption for the socket transport? (make sure the port is right). - * @return bool */ public function connect(string $hostname, int $port = 6667, bool $tls = false): bool { @@ -301,7 +298,6 @@ class IRCClient * @param string $userName The user name - visible in the host name. * @param string $realName The real name - visible in the WhoIs. * @param null $password The password - some servers require a password. - * @return bool */ public function login(string $nickName, string $userName, string $realName, $password = null): bool { @@ -384,7 +380,6 @@ class IRCClient * Quit from IRC. * * @param string $message Optional disconnect message. - * @return bool */ public function quit(string $message = null): bool { @@ -439,7 +434,6 @@ class IRCClient * * @param array $channels Array of channels with their passwords (null if the channel doesn't need a password). * array( '#exampleChannel' => 'thePassword', '#exampleChan2' => null ); - * @return bool */ public function joinChannels(array $channels = []): bool { @@ -470,9 +464,6 @@ class IRCClient /** * Join a channel. - * - * @param string $channel - * @param string $password */ protected function _joinChannel(string $channel, string $password) { @@ -481,8 +472,6 @@ class IRCClient /** * Send PONG to a host. - * - * @param string $host */ protected function _pong(string $host) { @@ -498,8 +487,6 @@ class IRCClient /** * Send PING to a host. - * - * @param string $host */ protected function _ping(string $host) { @@ -553,9 +540,6 @@ class IRCClient /** * Send a command to the IRC server. - * - * @param string $command - * @return bool */ protected function _writeSocket(string $command): bool { @@ -629,8 +613,6 @@ class IRCClient /** * Check if we are connected to the IRC server. - * - * @return bool */ protected function _connected(): bool { @@ -639,9 +621,6 @@ class IRCClient /** * Strips control characters from a IRC message. - * - * @param string $text - * @return string */ protected function _stripControlCharacters(string $text): string { diff --git a/Blacklight/IRCScraper.php b/Blacklight/IRCScraper.php index 3964ba3a4..221484bcd 100755 --- a/Blacklight/IRCScraper.php +++ b/Blacklight/IRCScraper.php @@ -403,8 +403,6 @@ class IRCScraper extends IRCClient /** * Echo new or update pre to CLI. - * - * @param bool $new */ protected function _doEcho(bool $new = true) { @@ -460,7 +458,6 @@ class IRCScraper extends IRCClient /** * Get a group id for a group name. * - * @param string $groupName * @return mixed */ protected function _getGroupID(string $groupName) diff --git a/Blacklight/Movie.php b/Blacklight/Movie.php index 1c57bf72c..986988c10 100755 --- a/Blacklight/Movie.php +++ b/Blacklight/Movie.php @@ -213,7 +213,6 @@ class Movie * Get movie releases with covers for movie browse page. * * - * @param int $maxAge * @return array|mixed */ public function getMovieRange($page, $cat, $start, $num, $orderBy, int $maxAge = -1, array $excludedCats = []) @@ -376,7 +375,6 @@ class Movie /** * Get trailer using IMDB Id. * - * @param int $imdbId * @return bool|string * * @throws \Exception @@ -408,7 +406,6 @@ class Movie /** * Parse trakt info, insert into DB. * - * @param array $data * @return mixed */ public function parseTraktTv(array &$data) @@ -514,11 +511,6 @@ class Movie /** * Returns a tmdb, imdb or trakt variable, the one that is set. Empty string if both not set. * - * @param string $variable1 - * @param string $variable2 - * @param string $variable3 - * @param string $variable4 - * @param string $variable5 * @return array|string */ protected function setVariables(string $variable1, string $variable2, string $variable3, string $variable4, string $variable5) @@ -741,7 +733,6 @@ class Movie * Fetch info for IMDB id from TMDB. * * - * @param bool $text * @return array|false */ public function fetchTMDBProperties($imdbId, bool $text = false) @@ -999,7 +990,6 @@ class Movie } /** - * @param string $title * @return array|bool * * @throws \DariusIII\ItunesApi\Exceptions\InvalidProviderException @@ -1086,9 +1076,6 @@ class Movie * Process releases with no IMDB id's. * * - * @param string $groupID - * @param string $guidChar - * @param int $lookupIMDB * * @throws \Exception */ @@ -1277,8 +1264,6 @@ class Movie /** * Parse a movie name from a release search name. - * - * @param string $releaseName */ protected function parseMovieSearchName(string $releaseName): bool { diff --git a/Blacklight/Music.php b/Blacklight/Music.php index 091afa321..063a60cc6 100755 --- a/Blacklight/Music.php +++ b/Blacklight/Music.php @@ -401,7 +401,6 @@ class Music } /** - * @param bool $local * * @throws \Exception */ @@ -481,7 +480,6 @@ class Music } /** - * @param string $releaseName * @return array|false */ public function parseArtist(string $releaseName) @@ -618,7 +616,6 @@ class Music } /** - * @param string $title * @return array|bool * * @throws \DariusIII\ItunesApi\Exceptions\InvalidProviderException diff --git a/Blacklight/NNTP.php b/Blacklight/NNTP.php index 77448d685..bdd07d8fb 100755 --- a/Blacklight/NNTP.php +++ b/Blacklight/NNTP.php @@ -376,9 +376,6 @@ class NNTP extends \Net_NNTP_Client /** * Fetch an overview of article(s) in the currently selected group. * - * @param string $range - * @param bool $names - * @param bool $forceNames * @return mixed On success : (array) Multidimensional array with article headers. * * @throws \Exception diff --git a/Blacklight/NZBContents.php b/Blacklight/NZBContents.php index ffd038705..e8567c26e 100755 --- a/Blacklight/NZBContents.php +++ b/Blacklight/NZBContents.php @@ -139,7 +139,6 @@ class NZBContents * Gets the completion from the NZB, optionally looks if there is an NFO/PAR2 file. * * - * @param bool $nfoCheck * @return array|false * * @throws \Exception @@ -243,11 +242,6 @@ class NZBContents /** * Attempts to get the releasename from a par2 file. * - * @param string $guid - * @param int $relID - * @param int $groupID - * @param int $nameStatus - * @param int $show * * @throws \Exception */ diff --git a/Blacklight/NZBImport.php b/Blacklight/NZBImport.php index d04a34d82..96177548b 100755 --- a/Blacklight/NZBImport.php +++ b/Blacklight/NZBImport.php @@ -241,7 +241,6 @@ class NZBImport } /** - * @param bool $useNzbName * * @throws \Exception */ @@ -456,8 +455,6 @@ class NZBImport /** * Echo message to browser or CLI. - * - * @param string $message */ protected function echoOut(string $message): void { diff --git a/Blacklight/NameFixer.php b/Blacklight/NameFixer.php index 629f53c16..3d95fbf9f 100755 --- a/Blacklight/NameFixer.php +++ b/Blacklight/NameFixer.php @@ -1449,8 +1449,6 @@ class NameFixer /** * Look for a TV name. * - * @param bool $echo - * @param string $type * * @throws \Exception */ diff --git a/Blacklight/Regexes.php b/Blacklight/Regexes.php index 2791b7bfc..7719be010 100755 --- a/Blacklight/Regexes.php +++ b/Blacklight/Regexes.php @@ -95,8 +95,6 @@ class Regexes /** * Get a single regex using its id. - * - * @param int $id */ public function getRegexByID(int $id): array { @@ -104,7 +102,6 @@ class Regexes } /** - * @param string $group_regex * @return mixed */ public function getRegex(string $group_regex = '') @@ -147,7 +144,6 @@ class Regexes /** * Delete a regex using its id. * - * @param int $id * * @throws \Throwable */ @@ -163,9 +159,6 @@ class Regexes * * Requires table per group to be on. * - * @param string $groupName - * @param string $regex - * @param int $limit * * @throws \Exception */ @@ -326,8 +319,6 @@ class Regexes * * Requires at least 1 named captured group. * - * @param string $regex - * @param string $subject * * @throws \Exception */ @@ -359,8 +350,6 @@ class Regexes /** * Format part of a query. - * - * @param string $group_regex */ protected function _groupQueryString(string $group_regex): string { diff --git a/Blacklight/ReleaseCleaning.php b/Blacklight/ReleaseCleaning.php index d250f95e4..6f5b87462 100755 --- a/Blacklight/ReleaseCleaning.php +++ b/Blacklight/ReleaseCleaning.php @@ -97,7 +97,6 @@ class ReleaseCleaning } /** - * @param bool $usePre * @return array|false|string * * @throws \Exception @@ -402,9 +401,6 @@ class ReleaseCleaning // Run at the end because this can be dangerous. In the future it's better to make these per group. There should not be numbers after yEnc because we remove them as well before inserting (even when importing). - /** - * @return array - */ public function generic(): array { // This regex gets almost all of the predb release names also keep in mind that not every subject ends with yEnc, some are truncated, because of the 255 character limit and some have extra charaters tacked onto the end, like (5/10). diff --git a/Blacklight/ReleaseExtra.php b/Blacklight/ReleaseExtra.php index 236d36dd0..12ec91c3c 100755 --- a/Blacklight/ReleaseExtra.php +++ b/Blacklight/ReleaseExtra.php @@ -67,9 +67,6 @@ class ReleaseExtra return ReleaseSubtitle::query()->where('releases_id', $id)->select([DB::raw("GROUP_CONCAT(subslanguage SEPARATOR ', ') AS subs")])->orderBy('subsid')->first(); } - /** - * @param string $guid - */ public function getBriefByGuid(string $guid): array { return DB::select(sprintf("SELECT containerformat, videocodec, videoduration, videoaspect, @@ -318,10 +315,6 @@ class ReleaseExtra } } - /** - * @param int $releaseID - * @param string $uniqueId - */ public function addUID(int $releaseID, string $uniqueId): void { $dupecheck = ReleaseUnique::query()->where('releases_id', $releaseID)->orWhere([ diff --git a/Blacklight/ReleaseRemover.php b/Blacklight/ReleaseRemover.php index 02e8fccc7..509fd806c 100755 --- a/Blacklight/ReleaseRemover.php +++ b/Blacklight/ReleaseRemover.php @@ -1037,7 +1037,6 @@ class ReleaseRemover /** * Delete releases from the database. * - * @return true * * @throws \Exception */ @@ -1257,8 +1256,6 @@ class ReleaseRemover /** * Check if the user wants to run the current query. - * - * @return bool */ protected function checkUserResponse(): bool { @@ -1287,8 +1284,6 @@ class ReleaseRemover /** * Remove multiple spaces and trim leading spaces. - * - * @param string $string */ protected function cleanSpaces(string $string): string { @@ -1331,7 +1326,6 @@ class ReleaseRemover } /** - * @param string $dbRegex * @return bool|mixed|string */ protected function extractSrchFromRegx(string $dbRegex = '') diff --git a/Blacklight/Releases.php b/Blacklight/Releases.php index 4958c3830..73a81696b 100644 --- a/Blacklight/Releases.php +++ b/Blacklight/Releases.php @@ -340,8 +340,6 @@ class Releases extends Release * * @param array $identifiers ['g' => Release GUID(mandatory), 'id => ReleaseID(optional, pass * false)] - * @param \Blacklight\NZB $nzb - * @param \Blacklight\ReleaseImage $releaseImage * * @throws \Exception */ diff --git a/Blacklight/Tmux.php b/Blacklight/Tmux.php index 319633a76..6e99b131d 100755 --- a/Blacklight/Tmux.php +++ b/Blacklight/Tmux.php @@ -195,9 +195,6 @@ class Tmux return $sql; } - /** - * @return int - */ public function updateItem($setting, $value): int { return Settings::query()->where('setting', '=', $setting)->update(['value' => $value]); @@ -261,7 +258,6 @@ class Tmux * Returns random bool, weighted by $chance. * * - * @param int $chance * * @throws \Exception */ @@ -288,9 +284,6 @@ class Tmux } /** - * @param string $db_name - * @param string $ppmax - * @param string $ppmin * * @throws \Exception */ diff --git a/Blacklight/XXX.php b/Blacklight/XXX.php index 0bf59dcce..6a4c97f85 100755 --- a/Blacklight/XXX.php +++ b/Blacklight/XXX.php @@ -85,8 +85,6 @@ class XXX /** * Get XXX releases with covers for xxx browse page. - * - * @param int $maxAge */ public function getXXXRange($page, $cat, $start, $num, $orderBy, int $maxAge = -1, array $excludedCats = []): array { diff --git a/Blacklight/libraries/Geary.php b/Blacklight/libraries/Geary.php index f5d1cc719..7c513fe9a 100644 --- a/Blacklight/libraries/Geary.php +++ b/Blacklight/libraries/Geary.php @@ -219,8 +219,6 @@ class Geary * Endpoint. * * Construct an endpoint URL - * - * @param string $method */ private function endpoint(string $method): string { @@ -255,8 +253,6 @@ class Geary * Get Header. * * Get single data from header - * - * @param string $name */ private function get_header(string $name): string { @@ -277,8 +273,6 @@ class Geary * Prepare Header. * * Add data to header for authentication purpose - * - * @param array $data */ private function prepare_header(array $data): array { @@ -304,7 +298,6 @@ class Geary * * Send a signed HTTP request * - * @param array $data * @return mixed */ private function send_signed_request(array $data) diff --git a/Blacklight/processing/adult/ADE.php b/Blacklight/processing/adult/ADE.php index 7b0a1ec6b..939c677c3 100755 --- a/Blacklight/processing/adult/ADE.php +++ b/Blacklight/processing/adult/ADE.php @@ -165,7 +165,6 @@ class ADE extends AdultMovies /** * Gets Product Information and/or Features. * - * @param bool $extras * @return array - ProductInfo/Extras = features */ protected function productInfo(bool $extras = false): array @@ -202,7 +201,6 @@ class ADE extends AdultMovies /** * Searches xxx name. * - * @param string $movie * @return bool - True if releases has 90% match, else false */ public function processSite(string $movie): bool diff --git a/Blacklight/processing/adult/ADM.php b/Blacklight/processing/adult/ADM.php index 59ade1bd5..ee5396390 100755 --- a/Blacklight/processing/adult/ADM.php +++ b/Blacklight/processing/adult/ADM.php @@ -108,9 +108,6 @@ class ADM extends AdultMovies /** * Get Product Information and Director. - * - * - * @param bool $extras */ protected function productInfo(bool $extras = false): array { diff --git a/Blacklight/processing/adult/AEBN.php b/Blacklight/processing/adult/AEBN.php index 48db36be7..9450010de 100755 --- a/Blacklight/processing/adult/AEBN.php +++ b/Blacklight/processing/adult/AEBN.php @@ -141,8 +141,6 @@ class AEBN extends AdultMovies /** * Gets the product information. - * - * @param bool $extras */ protected function productInfo(bool $extras = false): array { @@ -187,8 +185,6 @@ class AEBN extends AdultMovies /** * Searches for a XXX name. - * - * @param string $movie */ public function processSite(string $movie): bool { diff --git a/Blacklight/processing/adult/Hotmovies.php b/Blacklight/processing/adult/Hotmovies.php index 98c5d0aad..bdc5ed9e9 100755 --- a/Blacklight/processing/adult/Hotmovies.php +++ b/Blacklight/processing/adult/Hotmovies.php @@ -100,8 +100,6 @@ class Hotmovies extends AdultMovies /** * Process ProductInfo. - * - * @param bool $extras */ protected function productInfo(bool $extras = false): array { @@ -200,7 +198,6 @@ class Hotmovies extends AdultMovies /** * Searches for match against xxx movie name. * - * @param string $movie * @return bool , true if search >= 90% */ public function processSite(string $movie): bool diff --git a/Blacklight/processing/adult/Popporn.php b/Blacklight/processing/adult/Popporn.php index 1ebfbfc33..911d4dea0 100755 --- a/Blacklight/processing/adult/Popporn.php +++ b/Blacklight/processing/adult/Popporn.php @@ -139,7 +139,6 @@ class Popporn extends AdultMovies } /** - * @param bool $extras * @return array|mixed */ protected function productInfo(bool $extras = false) @@ -230,8 +229,6 @@ class Popporn extends AdultMovies /** * Gets categories. - * - * @return array */ protected function genres(): array { @@ -249,7 +246,6 @@ class Popporn extends AdultMovies /** * Searches for match against searchterm. * - * @param string $movie * @return bool , true if search >= 90% */ public function processSite(string $movie): bool diff --git a/Blacklight/processing/post/AniDB.php b/Blacklight/processing/post/AniDB.php index 83b1fcf6c..fa045e802 100755 --- a/Blacklight/processing/post/AniDB.php +++ b/Blacklight/processing/post/AniDB.php @@ -119,7 +119,6 @@ class AniDB /** * Selects episode info for a local match. * - * @param int $episode * @return \Illuminate\Database\Eloquent\Model|null|static */ private function checkAniDBInfo($anidbId, int $episode = -1) @@ -153,7 +152,6 @@ class AniDB /** * Extracts anime title and episode info from release searchname. * - * @param string $cleanName * @return array $hits */ private function extractTitleEpisode(string $cleanName = ''): array @@ -194,7 +192,6 @@ class AniDB * Retrieves AniDB Info using a cleaned name. * * - * @param string $searchName * @return mixed */ private function getAnidbByName(string $searchName = '') diff --git a/Blacklight/processing/tv/TMDB.php b/Blacklight/processing/tv/TMDB.php index f0a26a24e..f80f0861b 100644 --- a/Blacklight/processing/tv/TMDB.php +++ b/Blacklight/processing/tv/TMDB.php @@ -41,8 +41,6 @@ class TMDB extends TV /** * Main processing director function for TMDB * Calls work query function and initiates processing. - * - * @param bool $local */ public function processSite($groupID, $guidChar, $process, bool $local = false): void { @@ -183,7 +181,6 @@ class TMDB extends TV * Calls the API to perform initial show name match to TMDB title * Returns a formatted array of show data or false if no match. * - * @param string $cleanName * @return array|false */ protected function getShowInfo(string $cleanName): bool|array @@ -284,11 +281,6 @@ class TMDB extends TV * Gets the specific episode info for the parsed release after match * Returns a formatted array of episode data or false if no match. * - * @param int $tmdbid - * @param int $season - * @param int $episode - * @param string $airdate - * @param int $videoId * @return array|false */ protected function getEpisodeInfo(int $tmdbid, int $season, int $episode, string $airdate = '', int $videoId = 0): bool|array diff --git a/Blacklight/processing/tv/TVDB.php b/Blacklight/processing/tv/TVDB.php index 02b4fcefa..2b81a8052 100755 --- a/Blacklight/processing/tv/TVDB.php +++ b/Blacklight/processing/tv/TVDB.php @@ -60,8 +60,6 @@ class TVDB extends TV /** * Main processing director function for scrapers * Calls work query function and initiates processing. - * - * @param bool $local */ public function processSite($groupID, $guidChar, $process, bool $local = false): void { diff --git a/Blacklight/processing/tv/TVMaze.php b/Blacklight/processing/tv/TVMaze.php index c7e08ca36..4972bba5a 100644 --- a/Blacklight/processing/tv/TVMaze.php +++ b/Blacklight/processing/tv/TVMaze.php @@ -49,8 +49,6 @@ class TVMaze extends TV /** * Main processing director function for scrapers * Calls work query function and initiates processing. - * - * @param bool $local */ public function processSite($groupID, $guidChar, $process, bool $local = false): void { @@ -213,7 +211,6 @@ class TVMaze extends TV * Returns a formatted array of show data or false if no match. * * - * @param string $cleanName * @return array|false */ protected function getShowInfo(string $cleanName) @@ -319,11 +316,6 @@ class TVMaze extends TV * Gets the specific episode info for the parsed release after match * Returns a formatted array of episode data or false if no match. * - * @param int $tvMazeId - * @param int $season - * @param int $episode - * @param string $airDate - * @param int $videoId * @return array|false */ protected function getEpisodeInfo(int $tvMazeId, int $season, int $episode, string $airDate = '', int $videoId = 0) diff --git a/Blacklight/processing/tv/TraktTv.php b/Blacklight/processing/tv/TraktTv.php index 2822711c3..255128841 100755 --- a/Blacklight/processing/tv/TraktTv.php +++ b/Blacklight/processing/tv/TraktTv.php @@ -64,8 +64,6 @@ class TraktTv extends TV /** * Main processing director function for scrapers * Calls work query function and initiates processing. - * - * @param bool $local */ public function processSite($groupID, $guidChar, $process, bool $local = false): void { @@ -197,9 +195,6 @@ class TraktTv extends TV /** * Retrieve info of TV episode from site using its API. * - * @param int $siteId - * @param int $series - * @param int $episode * @return array|false False on failure, an array of information fields otherwise. */ public function getEpisodeInfo(int $siteId, int $series, int $episode) diff --git a/Blacklight/utility/Country.php b/Blacklight/utility/Country.php index 629efdbe1..31baf4e5d 100755 --- a/Blacklight/utility/Country.php +++ b/Blacklight/utility/Country.php @@ -32,7 +32,6 @@ class Country /** * Get a country code for a country name. * - * @param string $country * @return mixed */ public static function countryCode(string $country) diff --git a/app/Console/Commands/NntmuxDeleteUnVerifiedUsers.php b/app/Console/Commands/NntmuxDeleteUnVerifiedUsers.php index 92672099f..c919ddf39 100644 --- a/app/Console/Commands/NntmuxDeleteUnVerifiedUsers.php +++ b/app/Console/Commands/NntmuxDeleteUnVerifiedUsers.php @@ -33,8 +33,6 @@ class NntmuxDeleteUnVerifiedUsers extends Command /** * Execute the console command. - * - * @return mixed */ public function handle(): void { diff --git a/app/Console/Commands/NntmuxPopulateSearchIndexes.php b/app/Console/Commands/NntmuxPopulateSearchIndexes.php index 41ec7b303..3567f6c3a 100644 --- a/app/Console/Commands/NntmuxPopulateSearchIndexes.php +++ b/app/Console/Commands/NntmuxPopulateSearchIndexes.php @@ -143,9 +143,6 @@ class NntmuxPopulateSearchIndexes extends Command $this->newLine(); } - /** - * @return void - */ private function elasticReleases(): void { $elastic = new ElasticSearchSiteSearch(); @@ -189,9 +186,6 @@ class NntmuxPopulateSearchIndexes extends Command $this->info('Done'); } - /** - * @return void - */ private function elasticPreDB(): void { $elastic = new ElasticSearchSiteSearch(); diff --git a/app/Console/Commands/NntmuxRemoveBadReleases.php b/app/Console/Commands/NntmuxRemoveBadReleases.php index 4b5c15bc0..931e4ac4b 100644 --- a/app/Console/Commands/NntmuxRemoveBadReleases.php +++ b/app/Console/Commands/NntmuxRemoveBadReleases.php @@ -35,7 +35,6 @@ class NntmuxRemoveBadReleases extends Command /** * Execute the console command. * - * @return mixed * * @throws \Exception */ diff --git a/app/Console/Commands/NntmuxResetPostProcessing.php b/app/Console/Commands/NntmuxResetPostProcessing.php index dd71b8a47..832439e5e 100644 --- a/app/Console/Commands/NntmuxResetPostProcessing.php +++ b/app/Console/Commands/NntmuxResetPostProcessing.php @@ -48,8 +48,6 @@ class NntmuxResetPostProcessing extends Command /** * Execute the console command. - * - * @return mixed */ public function handle(): void { diff --git a/app/Console/Commands/NntmuxUpdateExpiredRoles.php b/app/Console/Commands/NntmuxUpdateExpiredRoles.php index 1491cfa3a..59ca27dff 100644 --- a/app/Console/Commands/NntmuxUpdateExpiredRoles.php +++ b/app/Console/Commands/NntmuxUpdateExpiredRoles.php @@ -33,8 +33,6 @@ class NntmuxUpdateExpiredRoles extends Command /** * Execute the console command. - * - * @return mixed */ public function handle(): void { diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 95e3759cd..9b2a62220 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -19,8 +19,6 @@ class Kernel extends ConsoleKernel /** * Define the application's command schedule. - * - * @return void */ protected function schedule(Schedule $schedule): void { @@ -40,8 +38,6 @@ class Kernel extends ConsoleKernel /** * Register the commands for the application. - * - * @return void */ protected function commands(): void { diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 5a80ca0fd..76dcc0acb 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -28,8 +28,6 @@ class Handler extends ExceptionHandler /** * Catch errors with Sentry. - * - * @return void */ public function register(): void { @@ -44,7 +42,6 @@ class Handler extends ExceptionHandler * Report or log an exception. * * - * @param \Exception $exception * @return void * * @throws \Throwable diff --git a/app/Extensions/util/PhpYenc.php b/app/Extensions/util/PhpYenc.php index 52e2db751..2baf632d3 100644 --- a/app/Extensions/util/PhpYenc.php +++ b/app/Extensions/util/PhpYenc.php @@ -25,9 +25,6 @@ namespace App\Extensions\util; */ class PhpYenc { - /** - * @param bool $ignore - */ public static function decode(&$text, bool $ignore = false): bool|string { $crc = ''; diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 482adc1de..12617a26d 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -50,7 +50,6 @@ class LoginController extends Controller } /** - * @return \Illuminate\Http\RedirectResponse|null * * @throws \Illuminate\Auth\AuthenticationException * @throws \Illuminate\Validation\ValidationException diff --git a/app/Http/Controllers/BasePageController.php b/app/Http/Controllers/BasePageController.php index 93881954f..92155e4b9 100644 --- a/app/Http/Controllers/BasePageController.php +++ b/app/Http/Controllers/BasePageController.php @@ -168,9 +168,6 @@ class BasePageController extends Controller return view('errors.tokenError')->with('Error', 'Token mismatch'); } - /** - * @param string $retry - */ public function show429(string $retry = '') { abort(429, $retry); diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index c988da987..eb0a808a0 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -9,9 +9,6 @@ class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. - * - * @param \Illuminate\Http\Request $request - * @return string */ protected function redirectTo(Request $request): string { diff --git a/app/Http/Middleware/ClearanceMiddleware.php b/app/Http/Middleware/ClearanceMiddleware.php index 732b3c2fa..95a5be662 100644 --- a/app/Http/Middleware/ClearanceMiddleware.php +++ b/app/Http/Middleware/ClearanceMiddleware.php @@ -12,8 +12,6 @@ class ClearanceMiddleware /** * Handle an incoming request. * - * @param \Illuminate\Http\Request $request - * @return mixed * * @throws \Exception */ diff --git a/app/Http/Middleware/Google2FAMiddleware.php b/app/Http/Middleware/Google2FAMiddleware.php index 02855853d..6addcd5b0 100644 --- a/app/Http/Middleware/Google2FAMiddleware.php +++ b/app/Http/Middleware/Google2FAMiddleware.php @@ -11,9 +11,6 @@ class Google2FAMiddleware { /** * Handle an incoming request. - * - * @param \Illuminate\Http\Request $request - * @return mixed */ public function handle(Request $request, Closure $next): Response { diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php index c16f28a64..746d05ec5 100644 --- a/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/app/Http/Middleware/RedirectIfAuthenticated.php @@ -11,10 +11,6 @@ class RedirectIfAuthenticated { /** * Handle an incoming request. - * - * @param \Illuminate\Http\Request $request - * @param string|null $guard - * @return mixed */ public function handle(Request $request, Closure $next, ?string $guard = null): Response { diff --git a/app/Http/Requests/Auth/LoginLoginRequest.php b/app/Http/Requests/Auth/LoginLoginRequest.php index b68fe8b84..01f17813b 100644 --- a/app/Http/Requests/Auth/LoginLoginRequest.php +++ b/app/Http/Requests/Auth/LoginLoginRequest.php @@ -8,8 +8,6 @@ class LoginLoginRequest extends FormRequest { /** * Get the validation rules that apply to the request. - * - * @return array */ public function rules(): array { diff --git a/app/Http/Requests/Auth/RegisterRegisterRequest.php b/app/Http/Requests/Auth/RegisterRegisterRequest.php index b0e3a8698..7371a1715 100644 --- a/app/Http/Requests/Auth/RegisterRegisterRequest.php +++ b/app/Http/Requests/Auth/RegisterRegisterRequest.php @@ -8,8 +8,6 @@ class RegisterRegisterRequest extends FormRequest { /** * Get the validation rules that apply to the request. - * - * @return array */ public function rules(): array { diff --git a/app/Http/Requests/Auth/ShowLinkRequestFormForgotPasswordRequest.php b/app/Http/Requests/Auth/ShowLinkRequestFormForgotPasswordRequest.php index 24f5c4224..701265753 100644 --- a/app/Http/Requests/Auth/ShowLinkRequestFormForgotPasswordRequest.php +++ b/app/Http/Requests/Auth/ShowLinkRequestFormForgotPasswordRequest.php @@ -8,8 +8,6 @@ class ShowLinkRequestFormForgotPasswordRequest extends FormRequest { /** * Get the validation rules that apply to the request. - * - * @return array */ public function rules(): array { diff --git a/app/Http/Requests/ContactContactURequest.php b/app/Http/Requests/ContactContactURequest.php index 4d9ffdc0a..55711c8a9 100644 --- a/app/Http/Requests/ContactContactURequest.php +++ b/app/Http/Requests/ContactContactURequest.php @@ -8,8 +8,6 @@ class ContactContactURequest extends FormRequest { /** * Get the validation rules that apply to the request. - * - * @return array */ public function rules(): array { diff --git a/app/Http/Requests/Disable2faPasswordSecurityRequest.php b/app/Http/Requests/Disable2faPasswordSecurityRequest.php index f8843584d..90f3e6613 100644 --- a/app/Http/Requests/Disable2faPasswordSecurityRequest.php +++ b/app/Http/Requests/Disable2faPasswordSecurityRequest.php @@ -8,8 +8,6 @@ class Disable2faPasswordSecurityRequest extends FormRequest { /** * Get the validation rules that apply to the request. - * - * @return array */ public function rules(): array { diff --git a/app/Jobs/RemoveInactiveAccounts.php b/app/Jobs/RemoveInactiveAccounts.php index 3ba07b487..61222c8eb 100644 --- a/app/Jobs/RemoveInactiveAccounts.php +++ b/app/Jobs/RemoveInactiveAccounts.php @@ -25,8 +25,6 @@ class RemoveInactiveAccounts implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SendAccountChangedEmail.php b/app/Jobs/SendAccountChangedEmail.php index 9b3f5b543..a30fa8244 100644 --- a/app/Jobs/SendAccountChangedEmail.php +++ b/app/Jobs/SendAccountChangedEmail.php @@ -22,8 +22,6 @@ class SendAccountChangedEmail implements ShouldQueue /** * Create a new job instance. - * - * @param \App\Models\User $user */ public function __construct(User $user) { @@ -32,8 +30,6 @@ class SendAccountChangedEmail implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SendAccountDeletedEmail.php b/app/Jobs/SendAccountDeletedEmail.php index 47ff2fb20..3e06cdd31 100644 --- a/app/Jobs/SendAccountDeletedEmail.php +++ b/app/Jobs/SendAccountDeletedEmail.php @@ -22,8 +22,6 @@ class SendAccountDeletedEmail implements ShouldQueue /** * Create a new job instance. - * - * @param \App\Models\User $user */ public function __construct(User $user) { @@ -32,8 +30,6 @@ class SendAccountDeletedEmail implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SendAccountExpiredEmail.php b/app/Jobs/SendAccountExpiredEmail.php index f84710ca1..0be956984 100644 --- a/app/Jobs/SendAccountExpiredEmail.php +++ b/app/Jobs/SendAccountExpiredEmail.php @@ -22,8 +22,6 @@ class SendAccountExpiredEmail implements ShouldQueue /** * Create a new job instance. - * - * @param \App\Models\User $user */ public function __construct(User $user) { @@ -32,8 +30,6 @@ class SendAccountExpiredEmail implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SendAccountWillExpireEmail.php b/app/Jobs/SendAccountWillExpireEmail.php index 27a66fffe..b5ba6b645 100644 --- a/app/Jobs/SendAccountWillExpireEmail.php +++ b/app/Jobs/SendAccountWillExpireEmail.php @@ -31,8 +31,6 @@ class SendAccountWillExpireEmail implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SendInviteEmail.php b/app/Jobs/SendInviteEmail.php index 1c8f8effe..a72914f39 100644 --- a/app/Jobs/SendInviteEmail.php +++ b/app/Jobs/SendInviteEmail.php @@ -37,8 +37,6 @@ class SendInviteEmail implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SendNewRegisteredAccountMail.php b/app/Jobs/SendNewRegisteredAccountMail.php index 88de686c7..2ca73de2c 100644 --- a/app/Jobs/SendNewRegisteredAccountMail.php +++ b/app/Jobs/SendNewRegisteredAccountMail.php @@ -22,8 +22,6 @@ class SendNewRegisteredAccountMail implements ShouldQueue /** * Create a new job instance. - * - * @param \App\Models\User $user */ public function __construct(User $user) { @@ -32,8 +30,6 @@ class SendNewRegisteredAccountMail implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SendPasswordForgottenEmail.php b/app/Jobs/SendPasswordForgottenEmail.php index a3e5dc8c6..7103e9cf4 100644 --- a/app/Jobs/SendPasswordForgottenEmail.php +++ b/app/Jobs/SendPasswordForgottenEmail.php @@ -24,8 +24,6 @@ class SendPasswordForgottenEmail implements ShouldQueue /** * Create a new job instance. - * - * @param \App\Models\User $user */ public function __construct(User $user, $resetLink) { @@ -35,8 +33,6 @@ class SendPasswordForgottenEmail implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SendPasswordResetEmail.php b/app/Jobs/SendPasswordResetEmail.php index 1d42530c9..f7f3f1f15 100644 --- a/app/Jobs/SendPasswordResetEmail.php +++ b/app/Jobs/SendPasswordResetEmail.php @@ -27,9 +27,6 @@ class SendPasswordResetEmail implements ShouldQueue /** * Create a new job instance. - * - * @param \App\Models\User $user - * @param string $newPass */ public function __construct(User $user, string $newPass) { @@ -39,8 +36,6 @@ class SendPasswordResetEmail implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Jobs/SendWelcomeEmail.php b/app/Jobs/SendWelcomeEmail.php index 04042ad62..d3ca75db5 100644 --- a/app/Jobs/SendWelcomeEmail.php +++ b/app/Jobs/SendWelcomeEmail.php @@ -22,8 +22,6 @@ class SendWelcomeEmail implements ShouldQueue /** * Create a new job instance. - * - * @param \App\Models\User $user */ public function __construct(User $user) { @@ -32,8 +30,6 @@ class SendWelcomeEmail implements ShouldQueue /** * Execute the job. - * - * @return void */ public function handle(): void { diff --git a/app/Listeners/UpdateUserAccessedApi.php b/app/Listeners/UpdateUserAccessedApi.php index 7ee05520d..5baaaf2ba 100644 --- a/app/Listeners/UpdateUserAccessedApi.php +++ b/app/Listeners/UpdateUserAccessedApi.php @@ -19,8 +19,6 @@ class UpdateUserAccessedApi /** * Handle the event. - * - * @return void */ public function handle(UserAccessedApi $event): void { diff --git a/app/Listeners/UpdateUserLoggedIn.php b/app/Listeners/UpdateUserLoggedIn.php index 3d45c696a..64d8de337 100644 --- a/app/Listeners/UpdateUserLoggedIn.php +++ b/app/Listeners/UpdateUserLoggedIn.php @@ -19,8 +19,6 @@ class UpdateUserLoggedIn /** * Handle the event. - * - * @return void */ public function handle(UserLoggedIn $event): void { diff --git a/app/Mail/AccountChange.php b/app/Mail/AccountChange.php index 0353246ae..58d5b7375 100644 --- a/app/Mail/AccountChange.php +++ b/app/Mail/AccountChange.php @@ -28,8 +28,6 @@ class AccountChange extends Mailable /** * AccountChange constructor. - * - * @param \App\Models\User $user */ public function __construct(User $user) { @@ -41,7 +39,6 @@ class AccountChange extends Mailable /** * Build the message. * - * @return $this * * @throws \Exception */ diff --git a/app/Mail/AccountDeleted.php b/app/Mail/AccountDeleted.php index 7d09e17ff..3b60680db 100644 --- a/app/Mail/AccountDeleted.php +++ b/app/Mail/AccountDeleted.php @@ -36,7 +36,6 @@ class AccountDeleted extends Mailable } /** - * @return $this * * @throws \Exception */ diff --git a/app/Mail/AccountExpired.php b/app/Mail/AccountExpired.php index 7b7f10318..14e87b2cd 100644 --- a/app/Mail/AccountExpired.php +++ b/app/Mail/AccountExpired.php @@ -29,7 +29,6 @@ class AccountExpired extends Mailable /** * Build the message. * - * @return $this * * @throws \Exception */ diff --git a/app/Mail/AccountWillExpire.php b/app/Mail/AccountWillExpire.php index 45a2b7b8d..d81899377 100644 --- a/app/Mail/AccountWillExpire.php +++ b/app/Mail/AccountWillExpire.php @@ -39,8 +39,6 @@ class AccountWillExpire extends Mailable /** * Build the message. - * - * @return $this */ public function build(): static { diff --git a/app/Mail/ContactUs.php b/app/Mail/ContactUs.php index 9d0edbd57..30a3b9a4a 100644 --- a/app/Mail/ContactUs.php +++ b/app/Mail/ContactUs.php @@ -26,7 +26,6 @@ class ContactUs extends Mailable /** * Build the message. * - * @return $this * * @throws \Exception */ diff --git a/app/Mail/ForgottenPassword.php b/app/Mail/ForgottenPassword.php index 3e43fe1eb..a9595acd8 100644 --- a/app/Mail/ForgottenPassword.php +++ b/app/Mail/ForgottenPassword.php @@ -37,7 +37,6 @@ class ForgottenPassword extends Mailable /** * Build the message. * - * @return $this * * @throws \Exception */ diff --git a/app/Mail/NewAccountCreatedEmail.php b/app/Mail/NewAccountCreatedEmail.php index f7c1a16b4..07a9bad63 100644 --- a/app/Mail/NewAccountCreatedEmail.php +++ b/app/Mail/NewAccountCreatedEmail.php @@ -39,8 +39,6 @@ class NewAccountCreatedEmail extends Mailable /** * Build the message. - * - * @return $this */ public function build(): static { diff --git a/app/Mail/PasswordReset.php b/app/Mail/PasswordReset.php index 16eebb83c..1ead120e6 100644 --- a/app/Mail/PasswordReset.php +++ b/app/Mail/PasswordReset.php @@ -33,8 +33,6 @@ class PasswordReset extends Mailable /** * PasswordReset constructor. - * - * @param \App\Models\User $user */ public function __construct(User $user, $newPass) { @@ -47,7 +45,6 @@ class PasswordReset extends Mailable /** * Build the message. * - * @return $this * * @throws \Exception */ diff --git a/app/Mail/SendInvite.php b/app/Mail/SendInvite.php index 15c122968..2ec4bd03a 100644 --- a/app/Mail/SendInvite.php +++ b/app/Mail/SendInvite.php @@ -33,8 +33,6 @@ class SendInvite extends Mailable /** * SendInvite constructor. - * - * @param \App\Models\User $user */ public function __construct(User $user, $invite) { @@ -47,7 +45,6 @@ class SendInvite extends Mailable /** * Build the message. * - * @return $this * * @throws \Exception */ diff --git a/app/Mail/WelcomeEmail.php b/app/Mail/WelcomeEmail.php index 3828d06c2..fa4db87a1 100644 --- a/app/Mail/WelcomeEmail.php +++ b/app/Mail/WelcomeEmail.php @@ -28,8 +28,6 @@ class WelcomeEmail extends Mailable /** * Create a new message instance. - * - * @param \App\Models\User $user */ public function __construct(User $user) { @@ -40,8 +38,6 @@ class WelcomeEmail extends Mailable /** * Build the message. - * - * @return $this */ public function build(): static { diff --git a/app/Models/AnidbInfo.php b/app/Models/AnidbInfo.php index e1cda2f82..9465025cd 100644 --- a/app/Models/AnidbInfo.php +++ b/app/Models/AnidbInfo.php @@ -76,17 +76,11 @@ class AnidbInfo extends Model */ protected $table = 'anidb_info'; - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function title(): BelongsTo { return $this->belongsTo(AnidbTitle::class, 'anidbid'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function episode(): BelongsTo { return $this->belongsTo(AnidbEpisode::class, 'anidbid'); diff --git a/app/Models/BookInfo.php b/app/Models/BookInfo.php index 5750d4ee9..c27d2ef56 100644 --- a/app/Models/BookInfo.php +++ b/app/Models/BookInfo.php @@ -67,17 +67,11 @@ class BookInfo extends Model */ protected $guarded = []; - /** - * @return string - */ public function searchableAs(): string { return 'ix_bookinfo_author_title_ft'; } - /** - * @return array - */ public function toSearchableArray(): array { return [ diff --git a/app/Models/Category.php b/app/Models/Category.php index ea5bae8a4..b5aa2bdb1 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -267,17 +267,11 @@ class Category extends Model */ protected $guarded = []; - /** - * @return HasMany - */ public function releases(): HasMany { return $this->hasMany(Release::class, 'categories_id'); } - /** - * @return BelongsTo - */ public function parent(): BelongsTo { return $this->belongsTo(RootCategory::class, 'root_categories_id'); @@ -308,9 +302,6 @@ class Category extends Model return $result; } - /** - * @return string - */ public static function getCategorySearch(array $cat = []): string { $categories = []; diff --git a/app/Models/Forumpost.php b/app/Models/Forumpost.php index 62507fd87..180f5e9c7 100644 --- a/app/Models/Forumpost.php +++ b/app/Models/Forumpost.php @@ -55,11 +55,6 @@ class Forumpost extends Model */ protected $guarded = []; - /** - * @param int $locked - * @param int $sticky - * @param int $replies - */ public static function add($parentId, $userid, $subject, $message, int $locked = 0, int $sticky = 0, int $replies = 0): int { if ($message === '') { @@ -139,7 +134,6 @@ class Forumpost extends Model * * * @param $start - * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator */ public static function getBrowseRange(): LengthAwarePaginator { diff --git a/app/Models/GamesInfo.php b/app/Models/GamesInfo.php index db99cb0a1..9c677316b 100644 --- a/app/Models/GamesInfo.php +++ b/app/Models/GamesInfo.php @@ -65,17 +65,11 @@ class GamesInfo extends Model */ protected $guarded = []; - /** - * @return string - */ public function searchableAs(): string { return 'ix_title_ft'; } - /** - * @return array - */ public function toSearchableArray(): array { return [ diff --git a/app/Models/MusicInfo.php b/app/Models/MusicInfo.php index 1a9b6fdd2..bd65805f9 100644 --- a/app/Models/MusicInfo.php +++ b/app/Models/MusicInfo.php @@ -76,17 +76,11 @@ class MusicInfo extends Model return $this->belongsTo(Genre::class, 'genres_id'); } - /** - * @return string - */ public function searchableAs(): string { return 'ix_musicinfo_artist_title_ft'; } - /** - * @return array - */ public function toSearchableArray(): array { return [ diff --git a/app/Models/Predb.php b/app/Models/Predb.php index dad3f083a..c157e40b1 100644 --- a/app/Models/Predb.php +++ b/app/Models/Predb.php @@ -152,7 +152,6 @@ class Predb extends Model /** * Try to match a single release to a PreDB title when the release is created. * - * @param string $cleanerName * @return array|false Array with title/id from PreDB if found, false if not found. */ public static function matchPre(string $cleanerName) @@ -184,7 +183,6 @@ class Predb extends Model } /** - * @param string $search * @return mixed * * @throws \Exception @@ -235,17 +233,11 @@ class Predb extends Model return self::query()->where('id', $preID)->first(); } - /** - * @return string - */ public function searchableAs(): string { return 'ft_predb_filename'; } - /** - * @return array - */ public function toSearchableArray(): array { return [ diff --git a/app/Models/PredbHash.php b/app/Models/PredbHash.php index 1eff85fe1..488795a97 100644 --- a/app/Models/PredbHash.php +++ b/app/Models/PredbHash.php @@ -48,9 +48,6 @@ class PredbHash extends Model */ protected $primaryKey = 'hash'; - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function predb(): BelongsTo { return $this->belongsTo(Predb::class, 'predb_id'); diff --git a/app/Models/Release.php b/app/Models/Release.php index 7910a2b75..ad3b2ed95 100644 --- a/app/Models/Release.php +++ b/app/Models/Release.php @@ -164,25 +164,16 @@ class Release extends Model */ protected $guarded = []; - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function group(): BelongsTo { return $this->belongsTo(UsenetGroup::class, 'groups_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function download(): HasMany { return $this->hasMany(UserDownload::class, 'releases_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function userRelease(): HasMany { return $this->hasMany(UsersRelease::class, 'releases_id'); @@ -193,73 +184,46 @@ class Release extends Model return $this->hasMany(ReleaseFile::class, 'releases_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function category(): BelongsTo { return $this->belongsTo(Category::class, 'categories_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function predb(): BelongsTo { return $this->belongsTo(Predb::class, 'predb_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function failed(): HasMany { return $this->hasMany(DnzbFailure::class, 'release_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function releaseExtra(): HasMany { return $this->hasMany(ReleaseExtraFull::class, 'releases_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasOne - */ public function nfo(): HasOne { return $this->hasOne(ReleaseNfo::class, 'releases_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function comment(): HasMany { return $this->hasMany(ReleaseComment::class, 'releases_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function releaseGroup(): HasMany { return $this->hasMany(ReleasesGroups::class, 'releases_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function video(): BelongsTo { return $this->belongsTo(Video::class, 'videos_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function episode(): BelongsTo { return $this->belongsTo(TvEpisode::class, 'tv_episodes_id'); @@ -345,7 +309,6 @@ class Release extends Model } /** - * @param string $guid * * @throws \Exception */ @@ -541,9 +504,6 @@ class Release extends Model /** * Get a range of releases. used in admin manage list. - * - * - * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator */ public static function getFailedRange(): LengthAwarePaginator { diff --git a/app/Models/ReleaseComment.php b/app/Models/ReleaseComment.php index 24b064f03..230deb1ef 100644 --- a/app/Models/ReleaseComment.php +++ b/app/Models/ReleaseComment.php @@ -67,17 +67,11 @@ class ReleaseComment extends Model */ protected $dateFormat = false; - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function release(): BelongsTo { return $this->belongsTo(Release::class, 'releases_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function user(): BelongsTo { return $this->belongsTo(User::class, 'users_id'); @@ -94,9 +88,6 @@ class ReleaseComment extends Model return self::query()->where('id', $id)->first(); } - /** - * @return array - */ public static function getComments($id): array { return self::query()->where('releases_id', $id)->orderByDesc('created_at')->get()->toArray(); @@ -155,9 +146,6 @@ class ReleaseComment extends Model /** * Get release_comments rows by limit. - * - * - * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator */ public static function getCommentsRange(): LengthAwarePaginator { @@ -188,9 +176,6 @@ class ReleaseComment extends Model return $res; } - /** - * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator - */ public static function getCommentsForUserRange($uid): LengthAwarePaginator { return self::query() diff --git a/app/Models/ReleaseFile.php b/app/Models/ReleaseFile.php index a183daa4a..e8c7da7ac 100644 --- a/app/Models/ReleaseFile.php +++ b/app/Models/ReleaseFile.php @@ -85,8 +85,6 @@ class ReleaseFile extends Model * Add new files for a release ID. * * - * @param string $hash - * @param string $crc * * @throws \Exception */ diff --git a/app/Models/ReleaseNfo.php b/app/Models/ReleaseNfo.php index 5e70741be..5ee0feab5 100644 --- a/app/Models/ReleaseNfo.php +++ b/app/Models/ReleaseNfo.php @@ -45,7 +45,6 @@ class ReleaseNfo extends Model } /** - * @param bool $getNfoString * @return \Illuminate\Database\Eloquent\Model|null|static */ public static function getReleaseNfo($id, bool $getNfoString = true) diff --git a/app/Models/Settings.php b/app/Models/Settings.php index ee7234e1f..07229f1a3 100644 --- a/app/Models/Settings.php +++ b/app/Models/Settings.php @@ -119,7 +119,6 @@ class Settings extends Model /** * Adapted from https://laravel.io/forum/01-15-2016-overriding-eloquent-attributes. * - * @param string $key * @return mixed */ public function __get(string $key) diff --git a/app/Models/SteamApp.php b/app/Models/SteamApp.php index cad46b762..1b1e87d79 100644 --- a/app/Models/SteamApp.php +++ b/app/Models/SteamApp.php @@ -44,17 +44,11 @@ class SteamApp extends Model */ protected $guarded = []; - /** - * @return string - */ public function searchableAs(): string { return 'ix_name_ft'; } - /** - * @return array - */ public function toSearchableArray(): array { return [ diff --git a/app/Models/TvEpisode.php b/app/Models/TvEpisode.php index 13c0310dd..0d4012dc9 100644 --- a/app/Models/TvEpisode.php +++ b/app/Models/TvEpisode.php @@ -56,9 +56,6 @@ class TvEpisode extends Model return $this->belongsTo(Video::class, 'videos_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function release(): HasMany { return $this->hasMany(Release::class, 'tv_episodes_id'); diff --git a/app/Models/UsenetGroup.php b/app/Models/UsenetGroup.php index 74fb691db..0d3bcd42b 100644 --- a/app/Models/UsenetGroup.php +++ b/app/Models/UsenetGroup.php @@ -93,9 +93,6 @@ class UsenetGroup extends Model $this->allasmgr = (int) Settings::settingValue('..allasmgr') === 1; } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function release(): HasMany { return $this->hasMany(Release::class, 'groups_id'); @@ -229,9 +226,7 @@ class UsenetGroup extends Model } /** - * @param string $groupname * @param null $active - * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator */ public static function getGroupsRange(string $groupname = '', $active = null): LengthAwarePaginator { @@ -252,9 +247,6 @@ class UsenetGroup extends Model /** * Update an existing group. - * - * - * @return int */ public static function updateGroup($group): int { @@ -420,9 +412,6 @@ class UsenetGroup extends Model /** * Adds new newsgroups based on a regular expression match against USP available. * - * @param string $groupList - * @param int $active - * @param int $backfill * @return array|string * * @throws \Exception diff --git a/app/Models/User.php b/app/Models/User.php index 175b01edd..408bbc241 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -198,65 +198,41 @@ class User extends Authenticatable */ protected $guarded = []; - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function role(): BelongsTo { return $this->belongsTo(Role::class, 'roles_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function request(): HasMany { return $this->hasMany(UserRequest::class, 'users_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function download(): HasMany { return $this->hasMany(UserDownload::class, 'users_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function release(): HasMany { return $this->hasMany(UsersRelease::class, 'users_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function series(): HasMany { return $this->hasMany(UserSerie::class, 'users_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function invitation(): HasMany { return $this->hasMany(Invitation::class, 'users_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function failedRelease(): HasMany { return $this->hasMany(DnzbFailure::class, 'users_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function comment(): HasMany { return $this->hasMany(ReleaseComment::class, 'users_id'); @@ -270,12 +246,6 @@ class User extends Authenticatable self::find($id)->delete(); } - /** - * @param string $role - * @param string $username - * @param string $host - * @param string $email - */ public static function getCount(string $role = '', string $username = '', string $host = '', string $email = ''): int { $res = self::query()->where('email', '<>', 'sharing@nZEDb.com'); @@ -398,7 +368,6 @@ class User extends Authenticatable } /** - * @return \Illuminate\Database\Eloquent\Collection * * @throws \Throwable */ diff --git a/app/Models/UserDownload.php b/app/Models/UserDownload.php index 637cc74a3..d9fa87d58 100644 --- a/app/Models/UserDownload.php +++ b/app/Models/UserDownload.php @@ -45,17 +45,11 @@ class UserDownload extends Model */ protected $guarded = []; - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function user(): BelongsTo { return $this->belongsTo(User::class, 'users_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function release(): BelongsTo { return $this->belongsTo(Release::class, 'releases_id'); @@ -64,7 +58,6 @@ class UserDownload extends Model /** * Get the COUNT of how many NZB's the user has downloaded in the past day. * - * @param int $userID * * @throws \Exception */ diff --git a/app/Models/UserRequest.php b/app/Models/UserRequest.php index 3198d62c6..d9651ea7b 100644 --- a/app/Models/UserRequest.php +++ b/app/Models/UserRequest.php @@ -49,9 +49,6 @@ class UserRequest extends Model */ protected $fillable = ['id', 'users_id', 'request', 'hosthash', 'timestamp']; - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function user(): BelongsTo { return $this->belongsTo(User::class, 'users_id'); @@ -70,7 +67,6 @@ class UserRequest extends Model /** * Get the quantity of API requests in the last day for the users_id. * - * @param int $userID * * @throws \Exception * @throws \Throwable diff --git a/app/Models/UserSerie.php b/app/Models/UserSerie.php index b0e0f88c8..14aae0509 100644 --- a/app/Models/UserSerie.php +++ b/app/Models/UserSerie.php @@ -41,9 +41,6 @@ class UserSerie extends Model */ protected $dateFormat = false; - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function user(): BelongsTo { return $this->belongsTo(User::class, 'users_id'); diff --git a/app/Models/Video.php b/app/Models/Video.php index d0a4e907e..2f88a5f58 100644 --- a/app/Models/Video.php +++ b/app/Models/Video.php @@ -63,25 +63,16 @@ class Video extends Model */ public $timestamps = false; - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function alias(): HasMany { return $this->hasMany(VideoAlias::class, 'videos_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function release(): HasMany { return $this->hasMany(Release::class, 'videos_id'); } - /** - * @return \Illuminate\Database\Eloquent\Relations\HasMany - */ public function episode(): HasMany { return $this->hasMany(TvEpisode::class, 'videos_id'); @@ -104,10 +95,6 @@ class Video extends Model /** * Retrieves a range of all shows for the show-edit admin list. - * - * - * @param string $showname - * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator */ public static function getRange(string $showname = ''): LengthAwarePaginator { @@ -124,9 +111,6 @@ class Video extends Model /** * Returns a count of all shows -- usually used by pager. - * - * - * @param string $showname */ public static function getCount(string $showname = ''): int { @@ -141,9 +125,6 @@ class Video extends Model /** * Retrieves and returns a list of shows with eligible releases. - * - * @param string $letter - * @param string $showname */ public static function getSeriesList($uid, string $letter = '', string $showname = ''): array { diff --git a/app/Models/VideoAlias.php b/app/Models/VideoAlias.php index 1749654f8..d7de9e59b 100644 --- a/app/Models/VideoAlias.php +++ b/app/Models/VideoAlias.php @@ -35,9 +35,6 @@ class VideoAlias extends Model */ protected $guarded = []; - /** - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo - */ public function video(): BelongsTo { return $this->belongsTo(Video::class, 'videos_id'); diff --git a/app/Observers/UserServiceObserver.php b/app/Observers/UserServiceObserver.php index 3f072e77a..4d6ae2df7 100644 --- a/app/Observers/UserServiceObserver.php +++ b/app/Observers/UserServiceObserver.php @@ -16,7 +16,6 @@ class UserServiceObserver /** * Handle the user "created" event. * - * @return void * * @throws \Jrean\UserVerification\Exceptions\ModelNotCompliantException */ diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index d6ecb9bdb..eedd13c58 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -9,8 +9,6 @@ class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. - * - * @return void */ public function boot(): void { @@ -21,8 +19,6 @@ class AppServiceProvider extends ServiceProvider /** * Register any application services. - * - * @return void */ public function register(): void { diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php index 30814008e..eb7a524fc 100644 --- a/app/Providers/AuthServiceProvider.php +++ b/app/Providers/AuthServiceProvider.php @@ -17,8 +17,6 @@ class AuthServiceProvider extends ServiceProvider /** * Register any authentication / authorization services. - * - * @return void */ public function boot(): void { diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php index 229284cb3..2be04f5d9 100644 --- a/app/Providers/BroadcastServiceProvider.php +++ b/app/Providers/BroadcastServiceProvider.php @@ -9,8 +9,6 @@ class BroadcastServiceProvider extends ServiceProvider { /** * Bootstrap any application services. - * - * @return void */ public function boot(): void { diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php index 53c1d9193..24bfb8479 100644 --- a/app/Providers/EventServiceProvider.php +++ b/app/Providers/EventServiceProvider.php @@ -34,8 +34,6 @@ class EventServiceProvider extends ServiceProvider /** * Register any events for your application. - * - * @return void */ public function boot(): void { diff --git a/app/Providers/HorizonServiceProvider.php b/app/Providers/HorizonServiceProvider.php index 263cb1bd4..af081a8b3 100644 --- a/app/Providers/HorizonServiceProvider.php +++ b/app/Providers/HorizonServiceProvider.php @@ -10,8 +10,6 @@ class HorizonServiceProvider extends HorizonApplicationServiceProvider { /** * Bootstrap any application services. - * - * @return void */ public function boot(): void { @@ -26,8 +24,6 @@ class HorizonServiceProvider extends HorizonApplicationServiceProvider * Register the Horizon gate. * * This gate determines who can access Horizon in non-local environments. - * - * @return void */ protected function gate(): void { @@ -40,8 +36,6 @@ class HorizonServiceProvider extends HorizonApplicationServiceProvider /** * Register any application services. - * - * @return void */ public function register(): void { diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 64601a8a3..9b6d8a924 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -11,8 +11,6 @@ class RouteServiceProvider extends ServiceProvider /** * Define your route model bindings, pattern filters, etc. - * - * @return void */ public function boot(): void { @@ -23,8 +21,6 @@ class RouteServiceProvider extends ServiceProvider /** * Define the routes for the application. - * - * @return void */ public function map(): void { @@ -39,8 +35,6 @@ class RouteServiceProvider extends ServiceProvider * Define the "web" routes for the application. * * These routes all receive session state, CSRF protection, etc. - * - * @return void */ protected function mapWebRoutes(): void { @@ -52,8 +46,6 @@ class RouteServiceProvider extends ServiceProvider * Define the "api" routes for the application. * * These routes are typically stateless. - * - * @return void */ protected function mapApiRoutes(): void { @@ -66,8 +58,6 @@ class RouteServiceProvider extends ServiceProvider * Define the "rss" routes for the application. * * These routes are typically stateless. - * - * @return void */ protected function mapRssRoutes(): void { diff --git a/app/Providers/TelescopeServiceProvider.php b/app/Providers/TelescopeServiceProvider.php index 77a91a13c..4b0b1fc10 100644 --- a/app/Providers/TelescopeServiceProvider.php +++ b/app/Providers/TelescopeServiceProvider.php @@ -11,8 +11,6 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider { /** * Register any application services. - * - * @return void */ public function register(): void { @@ -34,8 +32,6 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider /** * Prevent sensitive request details from being logged by Telescope. - * - * @return void */ protected function hideSensitiveRequestDetails(): void { @@ -56,8 +52,6 @@ class TelescopeServiceProvider extends TelescopeApplicationServiceProvider * Register the Telescope gate. * * This gate determines who can access Telescope in non-local environments. - * - * @return void */ protected function gate(): void { diff --git a/app/Providers/UserServiceProvider.php b/app/Providers/UserServiceProvider.php index 4f8a7e4e0..9953756fa 100644 --- a/app/Providers/UserServiceProvider.php +++ b/app/Providers/UserServiceProvider.php @@ -10,8 +10,6 @@ class UserServiceProvider extends ServiceProvider { /** * Register services. - * - * @return void */ public function register(): void { @@ -20,8 +18,6 @@ class UserServiceProvider extends ServiceProvider /** * Bootstrap services. - * - * @return void */ public function boot(): void { diff --git a/database/factories/ReleaseFactory.php b/database/factories/ReleaseFactory.php index bdbfacdda..833e8bc84 100644 --- a/database/factories/ReleaseFactory.php +++ b/database/factories/ReleaseFactory.php @@ -16,8 +16,6 @@ class ReleaseFactory extends Factory /** * Define the model's default state. - * - * @return array */ public function definition(): array { diff --git a/database/migrations/2014_01_16_195548_create_users_table.php b/database/migrations/2014_01_16_195548_create_users_table.php index eb1dac2d8..2eaa6a159 100644 --- a/database/migrations/2014_01_16_195548_create_users_table.php +++ b/database/migrations/2014_01_16_195548_create_users_table.php @@ -7,8 +7,6 @@ class CreateUsersTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -50,8 +48,6 @@ class CreateUsersTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2014_02_01_311070_create_firewall_table.php b/database/migrations/2014_02_01_311070_create_firewall_table.php index 3aae14ae4..a29e5e599 100644 --- a/database/migrations/2014_02_01_311070_create_firewall_table.php +++ b/database/migrations/2014_02_01_311070_create_firewall_table.php @@ -8,8 +8,6 @@ class CreateFirewallTable extends Migration { /** * Run the migration. - * - * @return void */ public function up(): void { @@ -26,8 +24,6 @@ class CreateFirewallTable extends Migration /** * Reverse the migration. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_17_150719_create_permission_tables.php b/database/migrations/2018_01_17_150719_create_permission_tables.php index ce5107c20..a32a59093 100644 --- a/database/migrations/2018_01_17_150719_create_permission_tables.php +++ b/database/migrations/2018_01_17_150719_create_permission_tables.php @@ -8,8 +8,6 @@ class CreatePermissionTables extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -97,8 +95,6 @@ class CreatePermissionTables extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_17_154034_create_categories_table.php b/database/migrations/2018_01_17_154034_create_categories_table.php index 7daba9ad9..3a63abbe5 100644 --- a/database/migrations/2018_01_17_154034_create_categories_table.php +++ b/database/migrations/2018_01_17_154034_create_categories_table.php @@ -7,8 +7,6 @@ class CreateCategoriesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -29,8 +27,6 @@ class CreateCategoriesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_18_101314_create_category_regexes_table.php b/database/migrations/2018_01_18_101314_create_category_regexes_table.php index 79215f0fe..de0bd4e3c 100644 --- a/database/migrations/2018_01_18_101314_create_category_regexes_table.php +++ b/database/migrations/2018_01_18_101314_create_category_regexes_table.php @@ -7,8 +7,6 @@ class CreateCategoryRegexesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -30,8 +28,6 @@ class CreateCategoryRegexesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_18_102213_create_collection_regexes_table.php b/database/migrations/2018_01_18_102213_create_collection_regexes_table.php index fd30ea804..1d22f504a 100644 --- a/database/migrations/2018_01_18_102213_create_collection_regexes_table.php +++ b/database/migrations/2018_01_18_102213_create_collection_regexes_table.php @@ -7,8 +7,6 @@ class CreateCollectionRegexesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -29,8 +27,6 @@ class CreateCollectionRegexesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_18_102716_create_binaryblacklist_table.php b/database/migrations/2018_01_18_102716_create_binaryblacklist_table.php index 237601961..d459c9bd6 100644 --- a/database/migrations/2018_01_18_102716_create_binaryblacklist_table.php +++ b/database/migrations/2018_01_18_102716_create_binaryblacklist_table.php @@ -7,8 +7,6 @@ class CreateBinaryblacklistTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -31,8 +29,6 @@ class CreateBinaryblacklistTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_18_103104_create_content_table.php b/database/migrations/2018_01_18_103104_create_content_table.php index 40cc53be9..059297387 100644 --- a/database/migrations/2018_01_18_103104_create_content_table.php +++ b/database/migrations/2018_01_18_103104_create_content_table.php @@ -7,8 +7,6 @@ class CreateContentTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -35,8 +33,6 @@ class CreateContentTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_18_103520_create_forumpost_table.php b/database/migrations/2018_01_18_103520_create_forumpost_table.php index b7a2d294e..7b1741a4e 100644 --- a/database/migrations/2018_01_18_103520_create_forumpost_table.php +++ b/database/migrations/2018_01_18_103520_create_forumpost_table.php @@ -7,8 +7,6 @@ class CreateForumpostTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -32,8 +30,6 @@ class CreateForumpostTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_18_103816_create_genres_table.php b/database/migrations/2018_01_18_103816_create_genres_table.php index 7e23b9c06..4f696da18 100644 --- a/database/migrations/2018_01_18_103816_create_genres_table.php +++ b/database/migrations/2018_01_18_103816_create_genres_table.php @@ -7,8 +7,6 @@ class CreateGenresTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ class CreateGenresTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_18_104345_create_usenet_groups_table.php b/database/migrations/2018_01_18_104345_create_usenet_groups_table.php index 1104f64d6..1a1e16322 100644 --- a/database/migrations/2018_01_18_104345_create_usenet_groups_table.php +++ b/database/migrations/2018_01_18_104345_create_usenet_groups_table.php @@ -7,8 +7,6 @@ class CreateUsenetGroupsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -36,8 +34,6 @@ class CreateUsenetGroupsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_18_105455_create_release_naming_regexes_table.php b/database/migrations/2018_01_18_105455_create_release_naming_regexes_table.php index e334656f0..4849bb675 100644 --- a/database/migrations/2018_01_18_105455_create_release_naming_regexes_table.php +++ b/database/migrations/2018_01_18_105455_create_release_naming_regexes_table.php @@ -7,8 +7,6 @@ class CreateReleaseNamingRegexesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -29,8 +27,6 @@ class CreateReleaseNamingRegexesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_18_105834_create_settings_table.php b/database/migrations/2018_01_18_105834_create_settings_table.php index 82f9e3ff2..c6828ed82 100644 --- a/database/migrations/2018_01_18_105834_create_settings_table.php +++ b/database/migrations/2018_01_18_105834_create_settings_table.php @@ -7,8 +7,6 @@ class CreateSettingsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -28,8 +26,6 @@ class CreateSettingsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195500_create_collections_table.php b/database/migrations/2018_01_20_195500_create_collections_table.php index 41d76c0e5..8feb94d44 100644 --- a/database/migrations/2018_01_20_195500_create_collections_table.php +++ b/database/migrations/2018_01_20_195500_create_collections_table.php @@ -7,8 +7,6 @@ class CreateCollectionsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -36,8 +34,6 @@ class CreateCollectionsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195528_create_releases_table.php b/database/migrations/2018_01_20_195528_create_releases_table.php index 4319081cb..93b3664da 100644 --- a/database/migrations/2018_01_20_195528_create_releases_table.php +++ b/database/migrations/2018_01_20_195528_create_releases_table.php @@ -8,8 +8,6 @@ class CreateReleasesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -92,8 +90,6 @@ processed'); /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195604_create_anidb_episodes_table.php b/database/migrations/2018_01_20_195604_create_anidb_episodes_table.php index d9f2a9a97..a3a949a12 100644 --- a/database/migrations/2018_01_20_195604_create_anidb_episodes_table.php +++ b/database/migrations/2018_01_20_195604_create_anidb_episodes_table.php @@ -7,8 +7,6 @@ class CreateAnidbEpisodesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ class CreateAnidbEpisodesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195615_create_anidb_info_table.php b/database/migrations/2018_01_20_195615_create_anidb_info_table.php index 4c97015c5..18b3c8420 100644 --- a/database/migrations/2018_01_20_195615_create_anidb_info_table.php +++ b/database/migrations/2018_01_20_195615_create_anidb_info_table.php @@ -7,8 +7,6 @@ class CreateAnidbInfoTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -35,8 +33,6 @@ class CreateAnidbInfoTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195624_create_anidb_titles_table.php b/database/migrations/2018_01_20_195624_create_anidb_titles_table.php index f5e4f01fc..4769873ba 100644 --- a/database/migrations/2018_01_20_195624_create_anidb_titles_table.php +++ b/database/migrations/2018_01_20_195624_create_anidb_titles_table.php @@ -7,8 +7,6 @@ class CreateAnidbTitlesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -26,8 +24,6 @@ class CreateAnidbTitlesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195636_create_audio_data_table.php b/database/migrations/2018_01_20_195636_create_audio_data_table.php index 6d4c874b1..e38fae436 100644 --- a/database/migrations/2018_01_20_195636_create_audio_data_table.php +++ b/database/migrations/2018_01_20_195636_create_audio_data_table.php @@ -7,8 +7,6 @@ class CreateAudioDataTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -35,8 +33,6 @@ class CreateAudioDataTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195648_create_binaries_table.php b/database/migrations/2018_01_20_195648_create_binaries_table.php index abc8212d0..f8f3e51b9 100644 --- a/database/migrations/2018_01_20_195648_create_binaries_table.php +++ b/database/migrations/2018_01_20_195648_create_binaries_table.php @@ -7,8 +7,6 @@ class CreateBinariesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -32,8 +30,6 @@ class CreateBinariesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195703_create_bookinfo_table.php b/database/migrations/2018_01_20_195703_create_bookinfo_table.php index 8c8b1c45f..69236c7e8 100644 --- a/database/migrations/2018_01_20_195703_create_bookinfo_table.php +++ b/database/migrations/2018_01_20_195703_create_bookinfo_table.php @@ -7,8 +7,6 @@ class CreateBookinfoTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -37,8 +35,6 @@ class CreateBookinfoTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195716_create_consoleinfo_table.php b/database/migrations/2018_01_20_195716_create_consoleinfo_table.php index 37d4993e6..1c1f902b4 100644 --- a/database/migrations/2018_01_20_195716_create_consoleinfo_table.php +++ b/database/migrations/2018_01_20_195716_create_consoleinfo_table.php @@ -7,8 +7,6 @@ class CreateConsoleinfoTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -35,8 +33,6 @@ class CreateConsoleinfoTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195728_create_dnzb_failures_table.php b/database/migrations/2018_01_20_195728_create_dnzb_failures_table.php index 772c84896..5cc1f2157 100644 --- a/database/migrations/2018_01_20_195728_create_dnzb_failures_table.php +++ b/database/migrations/2018_01_20_195728_create_dnzb_failures_table.php @@ -7,8 +7,6 @@ class CreateDnzbFailuresTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ class CreateDnzbFailuresTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195739_create_gamesinfo_table.php b/database/migrations/2018_01_20_195739_create_gamesinfo_table.php index 332e3fb33..3f98aae24 100644 --- a/database/migrations/2018_01_20_195739_create_gamesinfo_table.php +++ b/database/migrations/2018_01_20_195739_create_gamesinfo_table.php @@ -7,8 +7,6 @@ class CreateGamesinfoTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -36,8 +34,6 @@ class CreateGamesinfoTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195752_create_invitations_table.php b/database/migrations/2018_01_20_195752_create_invitations_table.php index a77adf9de..2fc446420 100644 --- a/database/migrations/2018_01_20_195752_create_invitations_table.php +++ b/database/migrations/2018_01_20_195752_create_invitations_table.php @@ -7,8 +7,6 @@ class CreateInvitationsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -26,8 +24,6 @@ class CreateInvitationsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195801_create_logging_table.php b/database/migrations/2018_01_20_195801_create_logging_table.php index a41d62cba..1a4e475c3 100644 --- a/database/migrations/2018_01_20_195801_create_logging_table.php +++ b/database/migrations/2018_01_20_195801_create_logging_table.php @@ -7,8 +7,6 @@ class CreateLoggingTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ class CreateLoggingTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195812_create_missed_parts_table.php b/database/migrations/2018_01_20_195812_create_missed_parts_table.php index bb1f0b2de..a9ca07da0 100644 --- a/database/migrations/2018_01_20_195812_create_missed_parts_table.php +++ b/database/migrations/2018_01_20_195812_create_missed_parts_table.php @@ -7,8 +7,6 @@ class CreateMissedPartsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -28,8 +26,6 @@ class CreateMissedPartsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195822_create_movieinfo_table.php b/database/migrations/2018_01_20_195822_create_movieinfo_table.php index 54efba7ed..3433b6f60 100644 --- a/database/migrations/2018_01_20_195822_create_movieinfo_table.php +++ b/database/migrations/2018_01_20_195822_create_movieinfo_table.php @@ -7,8 +7,6 @@ class CreateMovieinfoTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -40,8 +38,6 @@ class CreateMovieinfoTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195832_create_musicinfo_table.php b/database/migrations/2018_01_20_195832_create_musicinfo_table.php index 23ca61d4c..33e941fcc 100644 --- a/database/migrations/2018_01_20_195832_create_musicinfo_table.php +++ b/database/migrations/2018_01_20_195832_create_musicinfo_table.php @@ -7,8 +7,6 @@ class CreateMusicinfoTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -36,8 +34,6 @@ class CreateMusicinfoTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195915_create_par_hashes_table.php b/database/migrations/2018_01_20_195915_create_par_hashes_table.php index 15caad3e9..c46df32b7 100644 --- a/database/migrations/2018_01_20_195915_create_par_hashes_table.php +++ b/database/migrations/2018_01_20_195915_create_par_hashes_table.php @@ -7,8 +7,6 @@ class CreateParHashesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ class CreateParHashesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195925_create_parts_table.php b/database/migrations/2018_01_20_195925_create_parts_table.php index 28ed0d63a..837993742 100644 --- a/database/migrations/2018_01_20_195925_create_parts_table.php +++ b/database/migrations/2018_01_20_195925_create_parts_table.php @@ -7,8 +7,6 @@ class CreatePartsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -28,8 +26,6 @@ class CreatePartsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195934_create_predb_table.php b/database/migrations/2018_01_20_195934_create_predb_table.php index 79fcfb289..50267e379 100644 --- a/database/migrations/2018_01_20_195934_create_predb_table.php +++ b/database/migrations/2018_01_20_195934_create_predb_table.php @@ -8,8 +8,6 @@ class CreatePredbTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -47,8 +45,6 @@ class CreatePredbTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195946_create_predb_hashes_table.php b/database/migrations/2018_01_20_195946_create_predb_hashes_table.php index 699d3854f..130b10fe3 100644 --- a/database/migrations/2018_01_20_195946_create_predb_hashes_table.php +++ b/database/migrations/2018_01_20_195946_create_predb_hashes_table.php @@ -7,8 +7,6 @@ class CreatePredbHashesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ class CreatePredbHashesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_195954_create_predb_imports_table.php b/database/migrations/2018_01_20_195954_create_predb_imports_table.php index a4188f075..747386e09 100644 --- a/database/migrations/2018_01_20_195954_create_predb_imports_table.php +++ b/database/migrations/2018_01_20_195954_create_predb_imports_table.php @@ -7,8 +7,6 @@ class CreatePredbImportsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -35,8 +33,6 @@ class CreatePredbImportsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200005_create_release_comments_table.php b/database/migrations/2018_01_20_200005_create_release_comments_table.php index 1b41ec0af..be4a8bdec 100644 --- a/database/migrations/2018_01_20_200005_create_release_comments_table.php +++ b/database/migrations/2018_01_20_200005_create_release_comments_table.php @@ -7,8 +7,6 @@ class CreateReleaseCommentsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -41,8 +39,6 @@ class CreateReleaseCommentsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200018_create_releases_groups_table.php b/database/migrations/2018_01_20_200018_create_releases_groups_table.php index a4af3edf6..dcdc2dac3 100644 --- a/database/migrations/2018_01_20_200018_create_releases_groups_table.php +++ b/database/migrations/2018_01_20_200018_create_releases_groups_table.php @@ -7,8 +7,6 @@ class CreateReleasesGroupsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ class CreateReleasesGroupsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200030_create_release_regexes_table.php b/database/migrations/2018_01_20_200030_create_release_regexes_table.php index d6f95680a..e7caa8ffd 100644 --- a/database/migrations/2018_01_20_200030_create_release_regexes_table.php +++ b/database/migrations/2018_01_20_200030_create_release_regexes_table.php @@ -7,8 +7,6 @@ class CreateReleaseRegexesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ class CreateReleaseRegexesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200038_create_release_unique_table.php b/database/migrations/2018_01_20_200038_create_release_unique_table.php index f0afa4475..0581b0c47 100644 --- a/database/migrations/2018_01_20_200038_create_release_unique_table.php +++ b/database/migrations/2018_01_20_200038_create_release_unique_table.php @@ -7,8 +7,6 @@ class CreateReleaseUniqueTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ class CreateReleaseUniqueTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200046_create_releaseextrafull_table.php b/database/migrations/2018_01_20_200046_create_releaseextrafull_table.php index 6fc13b813..58c625b16 100644 --- a/database/migrations/2018_01_20_200046_create_releaseextrafull_table.php +++ b/database/migrations/2018_01_20_200046_create_releaseextrafull_table.php @@ -7,8 +7,6 @@ class CreateReleaseextrafullTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -24,8 +22,6 @@ class CreateReleaseextrafullTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200056_create_release_files_table.php b/database/migrations/2018_01_20_200056_create_release_files_table.php index 87d7a6a20..122a33cac 100644 --- a/database/migrations/2018_01_20_200056_create_release_files_table.php +++ b/database/migrations/2018_01_20_200056_create_release_files_table.php @@ -8,8 +8,6 @@ class CreateReleaseFilesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -39,8 +37,6 @@ class CreateReleaseFilesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200104_create_release_nfos_table.php b/database/migrations/2018_01_20_200104_create_release_nfos_table.php index 80dec39a8..573d8d90c 100644 --- a/database/migrations/2018_01_20_200104_create_release_nfos_table.php +++ b/database/migrations/2018_01_20_200104_create_release_nfos_table.php @@ -7,8 +7,6 @@ class CreateReleaseNfosTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -24,8 +22,6 @@ class CreateReleaseNfosTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200124_create_release_subtitles_table.php b/database/migrations/2018_01_20_200124_create_release_subtitles_table.php index 23869112b..71675aa63 100644 --- a/database/migrations/2018_01_20_200124_create_release_subtitles_table.php +++ b/database/migrations/2018_01_20_200124_create_release_subtitles_table.php @@ -7,8 +7,6 @@ class CreateReleaseSubtitlesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ class CreateReleaseSubtitlesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200151_create_short_groups_table.php b/database/migrations/2018_01_20_200151_create_short_groups_table.php index c33f89608..4ce760424 100644 --- a/database/migrations/2018_01_20_200151_create_short_groups_table.php +++ b/database/migrations/2018_01_20_200151_create_short_groups_table.php @@ -7,8 +7,6 @@ class CreateShortGroupsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -26,8 +24,6 @@ class CreateShortGroupsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200200_create_steam_apps_table.php b/database/migrations/2018_01_20_200200_create_steam_apps_table.php index c15e0853b..f34cbb22d 100644 --- a/database/migrations/2018_01_20_200200_create_steam_apps_table.php +++ b/database/migrations/2018_01_20_200200_create_steam_apps_table.php @@ -7,8 +7,6 @@ class CreateSteamAppsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ class CreateSteamAppsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200211_create_tv_episodes_table.php b/database/migrations/2018_01_20_200211_create_tv_episodes_table.php index 76f9024ac..f785f4b46 100644 --- a/database/migrations/2018_01_20_200211_create_tv_episodes_table.php +++ b/database/migrations/2018_01_20_200211_create_tv_episodes_table.php @@ -7,8 +7,6 @@ class CreateTvEpisodesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -30,8 +28,6 @@ class CreateTvEpisodesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200218_create_tv_info_table.php b/database/migrations/2018_01_20_200218_create_tv_info_table.php index 4cff704a8..1b475aa9e 100644 --- a/database/migrations/2018_01_20_200218_create_tv_info_table.php +++ b/database/migrations/2018_01_20_200218_create_tv_info_table.php @@ -7,8 +7,6 @@ class CreateTvInfoTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -26,8 +24,6 @@ class CreateTvInfoTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200237_create_users_releases_table.php b/database/migrations/2018_01_20_200237_create_users_releases_table.php index 3e15c29e5..23bacff25 100644 --- a/database/migrations/2018_01_20_200237_create_users_releases_table.php +++ b/database/migrations/2018_01_20_200237_create_users_releases_table.php @@ -7,8 +7,6 @@ class CreateUsersReleasesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -28,8 +26,6 @@ class CreateUsersReleasesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200248_create_user_downloads_table.php b/database/migrations/2018_01_20_200248_create_user_downloads_table.php index c13158eca..81a0215b5 100644 --- a/database/migrations/2018_01_20_200248_create_user_downloads_table.php +++ b/database/migrations/2018_01_20_200248_create_user_downloads_table.php @@ -7,8 +7,6 @@ class CreateUserDownloadsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ class CreateUserDownloadsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200318_create_user_movies_table.php b/database/migrations/2018_01_20_200318_create_user_movies_table.php index b36dc53c4..292c2ff85 100644 --- a/database/migrations/2018_01_20_200318_create_user_movies_table.php +++ b/database/migrations/2018_01_20_200318_create_user_movies_table.php @@ -7,8 +7,6 @@ class CreateUserMoviesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -28,8 +26,6 @@ class CreateUserMoviesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200328_create_user_requests_table.php b/database/migrations/2018_01_20_200328_create_user_requests_table.php index b5bb27678..c3c4215ed 100644 --- a/database/migrations/2018_01_20_200328_create_user_requests_table.php +++ b/database/migrations/2018_01_20_200328_create_user_requests_table.php @@ -7,8 +7,6 @@ class CreateUserRequestsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ class CreateUserRequestsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200336_create_user_series_table.php b/database/migrations/2018_01_20_200336_create_user_series_table.php index e351969f4..6cba8008f 100644 --- a/database/migrations/2018_01_20_200336_create_user_series_table.php +++ b/database/migrations/2018_01_20_200336_create_user_series_table.php @@ -7,8 +7,6 @@ class CreateUserSeriesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -28,8 +26,6 @@ class CreateUserSeriesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200346_create_video_data_table.php b/database/migrations/2018_01_20_200346_create_video_data_table.php index d3ece15c8..9505c7cd2 100644 --- a/database/migrations/2018_01_20_200346_create_video_data_table.php +++ b/database/migrations/2018_01_20_200346_create_video_data_table.php @@ -7,8 +7,6 @@ class CreateVideoDataTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -33,8 +31,6 @@ class CreateVideoDataTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200353_create_videos_table.php b/database/migrations/2018_01_20_200353_create_videos_table.php index 8cac62345..ac95ea8ad 100644 --- a/database/migrations/2018_01_20_200353_create_videos_table.php +++ b/database/migrations/2018_01_20_200353_create_videos_table.php @@ -7,8 +7,6 @@ class CreateVideosTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -36,8 +34,6 @@ class CreateVideosTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200403_create_videos_aliases_table.php b/database/migrations/2018_01_20_200403_create_videos_aliases_table.php index 056c4884e..f5910370d 100644 --- a/database/migrations/2018_01_20_200403_create_videos_aliases_table.php +++ b/database/migrations/2018_01_20_200403_create_videos_aliases_table.php @@ -7,8 +7,6 @@ class CreateVideosAliasesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -24,8 +22,6 @@ class CreateVideosAliasesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_20_200417_create_xxxinfo_table.php b/database/migrations/2018_01_20_200417_create_xxxinfo_table.php index b41bbf4d2..b4deadaf0 100644 --- a/database/migrations/2018_01_20_200417_create_xxxinfo_table.php +++ b/database/migrations/2018_01_20_200417_create_xxxinfo_table.php @@ -7,8 +7,6 @@ class CreateXxxinfoTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -36,8 +34,6 @@ class CreateXxxinfoTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_01_22_220858_add_stored_procedures.php b/database/migrations/2018_01_22_220858_add_stored_procedures.php index cdcb5b6c5..0a954f7fa 100644 --- a/database/migrations/2018_01_22_220858_add_stored_procedures.php +++ b/database/migrations/2018_01_22_220858_add_stored_procedures.php @@ -6,8 +6,6 @@ class AddStoredProcedures extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -52,8 +50,6 @@ class AddStoredProcedures extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_04_24_132758_create_cache_table.php b/database/migrations/2018_04_24_132758_create_cache_table.php index e86433c74..a90f4b4ee 100644 --- a/database/migrations/2018_04_24_132758_create_cache_table.php +++ b/database/migrations/2018_04_24_132758_create_cache_table.php @@ -8,8 +8,6 @@ class CreateCacheTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -22,8 +20,6 @@ class CreateCacheTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_08_08_100000_create_telescope_entries_table.php b/database/migrations/2018_08_08_100000_create_telescope_entries_table.php index 3d07348c1..574e04575 100644 --- a/database/migrations/2018_08_08_100000_create_telescope_entries_table.php +++ b/database/migrations/2018_08_08_100000_create_telescope_entries_table.php @@ -27,8 +27,6 @@ class CreateTelescopeEntriesTable extends Migration /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -67,8 +65,6 @@ class CreateTelescopeEntriesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2018_09_13_070520_add_verification_to_user_table.php b/database/migrations/2018_09_13_070520_add_verification_to_user_table.php index 5a09b241a..d76de733b 100644 --- a/database/migrations/2018_09_13_070520_add_verification_to_user_table.php +++ b/database/migrations/2018_09_13_070520_add_verification_to_user_table.php @@ -11,8 +11,6 @@ class AddVerificationToUserTable extends Migration { /** * Determine the user table name. - * - * @return string */ public function getUserTableName(): string { @@ -23,8 +21,6 @@ class AddVerificationToUserTable extends Migration /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -36,8 +32,6 @@ class AddVerificationToUserTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_02_20_102034_create_failed_jobs_table.php b/database/migrations/2019_02_20_102034_create_failed_jobs_table.php index ade6efd0c..67cc14e5a 100644 --- a/database/migrations/2019_02_20_102034_create_failed_jobs_table.php +++ b/database/migrations/2019_02_20_102034_create_failed_jobs_table.php @@ -8,8 +8,6 @@ class CreateFailedJobsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ class CreateFailedJobsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_03_11_234818_create_root_categories_table.php b/database/migrations/2019_03_11_234818_create_root_categories_table.php index e8f9c77ed..1a60a7640 100644 --- a/database/migrations/2019_03_11_234818_create_root_categories_table.php +++ b/database/migrations/2019_03_11_234818_create_root_categories_table.php @@ -8,8 +8,6 @@ class CreateRootCategoriesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ class CreateRootCategoriesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_03_12_090532_change_categories_table.php b/database/migrations/2019_03_12_090532_change_categories_table.php index 1dc395c39..474d76bcc 100644 --- a/database/migrations/2019_03_12_090532_change_categories_table.php +++ b/database/migrations/2019_03_12_090532_change_categories_table.php @@ -8,8 +8,6 @@ class ChangeCategoriesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class ChangeCategoriesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_03_12_093837_add_foreign_categories_table.php b/database/migrations/2019_03_12_093837_add_foreign_categories_table.php index 0d9c4e0c9..27879a5ef 100644 --- a/database/migrations/2019_03_12_093837_add_foreign_categories_table.php +++ b/database/migrations/2019_03_12_093837_add_foreign_categories_table.php @@ -8,8 +8,6 @@ class AddForeignCategoriesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -23,8 +21,6 @@ class AddForeignCategoriesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_04_04_130055_update_releases_table.php b/database/migrations/2019_04_04_130055_update_releases_table.php index 54851e281..6edf9f6d1 100644 --- a/database/migrations/2019_04_04_130055_update_releases_table.php +++ b/database/migrations/2019_04_04_130055_update_releases_table.php @@ -8,8 +8,6 @@ class UpdateReleasesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class UpdateReleasesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_04_04_150842_update_movieinfo_table.php b/database/migrations/2019_04_04_150842_update_movieinfo_table.php index 8c16f58c1..ce12ef97b 100644 --- a/database/migrations/2019_04_04_150842_update_movieinfo_table.php +++ b/database/migrations/2019_04_04_150842_update_movieinfo_table.php @@ -8,8 +8,6 @@ class UpdateMovieinfoTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class UpdateMovieinfoTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_04_04_152238_update_user_movies_table.php b/database/migrations/2019_04_04_152238_update_user_movies_table.php index 798b32f1b..cce16ce43 100644 --- a/database/migrations/2019_04_04_152238_update_user_movies_table.php +++ b/database/migrations/2019_04_04_152238_update_user_movies_table.php @@ -8,8 +8,6 @@ class UpdateUserMoviesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class UpdateUserMoviesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_06_14_095012_create_role_expiration_emails_table.php b/database/migrations/2019_06_14_095012_create_role_expiration_emails_table.php index e7410da89..a8eaf61a0 100644 --- a/database/migrations/2019_06_14_095012_create_role_expiration_emails_table.php +++ b/database/migrations/2019_06_14_095012_create_role_expiration_emails_table.php @@ -8,8 +8,6 @@ class CreateRoleExpirationEmailsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ class CreateRoleExpirationEmailsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_08_06_140408_create_invitation_user_table.php b/database/migrations/2019_08_06_140408_create_invitation_user_table.php index 39e963e28..dc9cd9335 100644 --- a/database/migrations/2019_08_06_140408_create_invitation_user_table.php +++ b/database/migrations/2019_08_06_140408_create_invitation_user_table.php @@ -7,8 +7,6 @@ class CreateInvitationUserTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -25,8 +23,6 @@ class CreateInvitationUserTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_08_23_132941_change_passwordststatus_releases_table.php b/database/migrations/2019_08_23_132941_change_passwordststatus_releases_table.php index a8876b4de..f4410bcd3 100644 --- a/database/migrations/2019_08_23_132941_change_passwordststatus_releases_table.php +++ b/database/migrations/2019_08_23_132941_change_passwordststatus_releases_table.php @@ -8,8 +8,6 @@ class ChangePasswordststatusReleasesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class ChangePasswordststatusReleasesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_10_10_231045_create_paypal_payments_table.php b/database/migrations/2019_10_10_231045_create_paypal_payments_table.php index c3927536d..8e08071d0 100644 --- a/database/migrations/2019_10_10_231045_create_paypal_payments_table.php +++ b/database/migrations/2019_10_10_231045_create_paypal_payments_table.php @@ -8,8 +8,6 @@ class CreatePaypalPaymentsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -23,8 +21,6 @@ class CreatePaypalPaymentsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_10_15_215953_update_tv_episodes_firstaired_column.php b/database/migrations/2019_10_15_215953_update_tv_episodes_firstaired_column.php index a65282949..7626998ef 100644 --- a/database/migrations/2019_10_15_215953_update_tv_episodes_firstaired_column.php +++ b/database/migrations/2019_10_15_215953_update_tv_episodes_firstaired_column.php @@ -8,8 +8,6 @@ class UpdateTvEpisodesFirstairedColumn extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class UpdateTvEpisodesFirstairedColumn extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_10_18_205920_add_timestamps_to_videos_aliases.php b/database/migrations/2019_10_18_205920_add_timestamps_to_videos_aliases.php index d876c6dbc..0c12e5d92 100644 --- a/database/migrations/2019_10_18_205920_add_timestamps_to_videos_aliases.php +++ b/database/migrations/2019_10_18_205920_add_timestamps_to_videos_aliases.php @@ -8,8 +8,6 @@ class AddTimestampsToVideosAliases extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class AddTimestampsToVideosAliases extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2019_12_30_190950_update_imdb_column_videos_table.php b/database/migrations/2019_12_30_190950_update_imdb_column_videos_table.php index 1e6376ea0..d32706902 100644 --- a/database/migrations/2019_12_30_190950_update_imdb_column_videos_table.php +++ b/database/migrations/2019_12_30_190950_update_imdb_column_videos_table.php @@ -8,8 +8,6 @@ class UpdateImdbColumnVideosTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class UpdateImdbColumnVideosTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2020_01_07_001831_add_unique_index_to_api_token.php b/database/migrations/2020_01_07_001831_add_unique_index_to_api_token.php index 583e7582c..e52a11dfe 100644 --- a/database/migrations/2020_01_07_001831_add_unique_index_to_api_token.php +++ b/database/migrations/2020_01_07_001831_add_unique_index_to_api_token.php @@ -8,8 +8,6 @@ class AddUniqueIndexToApiToken extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class AddUniqueIndexToApiToken extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2020_02_17_213449_add_timezone_column_to_users_table.php b/database/migrations/2020_02_17_213449_add_timezone_column_to_users_table.php index 6efe2d908..7f901c04e 100644 --- a/database/migrations/2020_02_17_213449_add_timezone_column_to_users_table.php +++ b/database/migrations/2020_02_17_213449_add_timezone_column_to_users_table.php @@ -7,8 +7,6 @@ class AddTimezoneColumnToUsersTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -21,8 +19,6 @@ class AddTimezoneColumnToUsersTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2020_03_07_213224_remove_text_hash.php b/database/migrations/2020_03_07_213224_remove_text_hash.php index 96a76f6e0..0c4630e64 100644 --- a/database/migrations/2020_03_07_213224_remove_text_hash.php +++ b/database/migrations/2020_03_07_213224_remove_text_hash.php @@ -8,8 +8,6 @@ class RemoveTextHash extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -27,8 +25,6 @@ class RemoveTextHash extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2020_07_09_223527_create_release_informs_table.php b/database/migrations/2020_07_09_223527_create_release_informs_table.php index 895d1bfe2..743b42035 100644 --- a/database/migrations/2020_07_09_223527_create_release_informs_table.php +++ b/database/migrations/2020_07_09_223527_create_release_informs_table.php @@ -8,8 +8,6 @@ class CreateReleaseInformsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -24,8 +22,6 @@ class CreateReleaseInformsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2020_08_08_212118_create_jobs_table.php b/database/migrations/2020_08_08_212118_create_jobs_table.php index 8779437b5..2ae9a4f49 100644 --- a/database/migrations/2020_08_08_212118_create_jobs_table.php +++ b/database/migrations/2020_08_08_212118_create_jobs_table.php @@ -8,8 +8,6 @@ class CreateJobsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -26,8 +24,6 @@ class CreateJobsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2020_09_27_163455_add_uuid_to_failed_jobs_table.php b/database/migrations/2020_09_27_163455_add_uuid_to_failed_jobs_table.php index f026a9ef2..89d2decb3 100644 --- a/database/migrations/2020_09_27_163455_add_uuid_to_failed_jobs_table.php +++ b/database/migrations/2020_09_27_163455_add_uuid_to_failed_jobs_table.php @@ -8,8 +8,6 @@ class AddUuidToFailedJobsTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class AddUuidToFailedJobsTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2020_12_27_214949_create_password_securities_table.php b/database/migrations/2020_12_27_214949_create_password_securities_table.php index f55ee22a4..fb09538fc 100644 --- a/database/migrations/2020_12_27_214949_create_password_securities_table.php +++ b/database/migrations/2020_12_27_214949_create_password_securities_table.php @@ -8,8 +8,6 @@ class CreatePasswordSecuritiesTable extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -24,8 +22,6 @@ class CreatePasswordSecuritiesTable extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/migrations/2022_02_07_220221_add_timestamps_columns_to_missed_parts.php b/database/migrations/2022_02_07_220221_add_timestamps_columns_to_missed_parts.php index c55e0c6ab..d997b56af 100644 --- a/database/migrations/2022_02_07_220221_add_timestamps_columns_to_missed_parts.php +++ b/database/migrations/2022_02_07_220221_add_timestamps_columns_to_missed_parts.php @@ -8,8 +8,6 @@ class AddTimestampsColumnsToMissedParts extends Migration { /** * Run the migrations. - * - * @return void */ public function up(): void { @@ -20,8 +18,6 @@ class AddTimestampsColumnsToMissedParts extends Migration /** * Reverse the migrations. - * - * @return void */ public function down(): void { diff --git a/database/seeders/BinaryblacklistTableSeeder.php b/database/seeders/BinaryblacklistTableSeeder.php index 3d65a3b53..5106217aa 100644 --- a/database/seeders/BinaryblacklistTableSeeder.php +++ b/database/seeders/BinaryblacklistTableSeeder.php @@ -9,8 +9,6 @@ class BinaryblacklistTableSeeder extends Seeder { /** * Auto generated seed file. - * - * @return void */ public function run(): void { diff --git a/database/seeders/CategoriesTableSeeder.php b/database/seeders/CategoriesTableSeeder.php index 5c49bae54..ba0b94028 100644 --- a/database/seeders/CategoriesTableSeeder.php +++ b/database/seeders/CategoriesTableSeeder.php @@ -9,8 +9,6 @@ class CategoriesTableSeeder extends Seeder { /** * Auto generated seed file. - * - * @return void */ public function run(): void { diff --git a/database/seeders/CategoryRegexesTableSeeder.php b/database/seeders/CategoryRegexesTableSeeder.php index 4bb1f1788..b082dc913 100644 --- a/database/seeders/CategoryRegexesTableSeeder.php +++ b/database/seeders/CategoryRegexesTableSeeder.php @@ -9,8 +9,6 @@ class CategoryRegexesTableSeeder extends Seeder { /** * Auto generated seed file. - * - * @return void */ public function run(): void { diff --git a/database/seeders/CollectionRegexesTableSeeder.php b/database/seeders/CollectionRegexesTableSeeder.php index 53b3ed87c..d70963b84 100644 --- a/database/seeders/CollectionRegexesTableSeeder.php +++ b/database/seeders/CollectionRegexesTableSeeder.php @@ -9,8 +9,6 @@ class CollectionRegexesTableSeeder extends Seeder { /** * Auto generated seed file. - * - * @return void */ public function run(): void { diff --git a/database/seeders/ContentTableSeeder.php b/database/seeders/ContentTableSeeder.php index 141fbcb80..b76fb56fa 100644 --- a/database/seeders/ContentTableSeeder.php +++ b/database/seeders/ContentTableSeeder.php @@ -9,8 +9,6 @@ class ContentTableSeeder extends Seeder { /** * Auto generated seed file. - * - * @return void */ public function run(): void { diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index 9f7e8dc86..8185210af 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -9,8 +9,6 @@ class DatabaseSeeder extends Seeder { /** * Run the database seeders. - * - * @return void */ public function run(): void { diff --git a/database/seeders/GenresTableSeeder.php b/database/seeders/GenresTableSeeder.php index 3b6d022f0..95973906f 100644 --- a/database/seeders/GenresTableSeeder.php +++ b/database/seeders/GenresTableSeeder.php @@ -9,8 +9,6 @@ class GenresTableSeeder extends Seeder { /** * Auto generated seed file. - * - * @return void */ public function run(): void { diff --git a/database/seeders/GroupsTableSeeder.php b/database/seeders/GroupsTableSeeder.php index 2da340fb1..5f7a826ba 100644 --- a/database/seeders/GroupsTableSeeder.php +++ b/database/seeders/GroupsTableSeeder.php @@ -9,8 +9,6 @@ class GroupsTableSeeder extends Seeder { /** * Auto generated seed file. - * - * @return void */ public function run(): void { diff --git a/database/seeders/ReleaseNamingRegexesTableSeeder.php b/database/seeders/ReleaseNamingRegexesTableSeeder.php index a1b6f6d60..37e76b553 100644 --- a/database/seeders/ReleaseNamingRegexesTableSeeder.php +++ b/database/seeders/ReleaseNamingRegexesTableSeeder.php @@ -9,8 +9,6 @@ class ReleaseNamingRegexesTableSeeder extends Seeder { /** * Auto generated seed file. - * - * @return void */ public function run(): void { diff --git a/database/seeders/RolesAndPermissionsSeeder.php b/database/seeders/RolesAndPermissionsSeeder.php index ce1fe8252..b81c54c2c 100644 --- a/database/seeders/RolesAndPermissionsSeeder.php +++ b/database/seeders/RolesAndPermissionsSeeder.php @@ -10,8 +10,6 @@ class RolesAndPermissionsSeeder extends Seeder { /** * Run the database seeders. - * - * @return void */ public function run(): void { diff --git a/database/seeders/SettingsTableSeeder.php b/database/seeders/SettingsTableSeeder.php index 42991be7c..a560de250 100644 --- a/database/seeders/SettingsTableSeeder.php +++ b/database/seeders/SettingsTableSeeder.php @@ -9,8 +9,6 @@ class SettingsTableSeeder extends Seeder { /** * Auto generated seed file. - * - * @return void */ public function run(): void { diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php index a3e444031..9b7cfa6a5 100644 --- a/tests/CreatesApplication.php +++ b/tests/CreatesApplication.php @@ -9,8 +9,6 @@ trait CreatesApplication { /** * Creates the application. - * - * @return \Illuminate\Foundation\Application */ public function createApplication(): Application {