mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-03 00:40:12 -05:00
add: model docblocks
- this resolves some larastan property issues but in return has revealed quite a few issues with our castings and such. baseline has been regenerated so we can work through them. The properties in docblocks are in order and match everything in DB schema wise.
This commit is contained in:
@@ -15,6 +15,23 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Announce.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $torrent_id
|
||||
* @property int $uploaded
|
||||
* @property int $downloaded
|
||||
* @property int $left
|
||||
* @property int $corrupt
|
||||
* @property mixed $peer_id
|
||||
* @property int $port
|
||||
* @property int $numwant
|
||||
* @property string $created_at
|
||||
* @property string $event
|
||||
* @property string $key
|
||||
*/
|
||||
class Announce extends Model
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -15,6 +15,15 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Apikey.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property string $content
|
||||
* @property string|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $deleted_at
|
||||
*/
|
||||
class Apikey extends Model
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -18,6 +18,20 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Application.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $type
|
||||
* @property string $email
|
||||
* @property string|null $referrer
|
||||
* @property int $status
|
||||
* @property \Illuminate\Support\Carbon|null $moderated_at
|
||||
* @property int|null $moderated_by
|
||||
* @property int|null $accepted_by
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Application extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\ApplicationImageProof.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $application_id
|
||||
* @property string $image
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class ApplicationImageProof extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\ApplicationUrlProof.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $application_id
|
||||
* @property string $url
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class ApplicationUrlProof extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -20,6 +20,17 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use voku\helper\AntiXSS;
|
||||
|
||||
/**
|
||||
* App\Models\Article.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $title
|
||||
* @property string|null $image
|
||||
* @property string $content
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property int $user_id
|
||||
*/
|
||||
class Article extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -16,6 +16,18 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Audit.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int|null $user_id
|
||||
* @property string $model_name
|
||||
* @property int $model_entry_id
|
||||
* @property string $action
|
||||
* @property mixed $record
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Audit extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,18 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Ban.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $owned_by
|
||||
* @property int|null $created_by
|
||||
* @property string|null $ban_reason
|
||||
* @property string|null $unban_reason
|
||||
* @property string|null $removed_at
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Ban extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -16,6 +16,16 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\BlacklistClient.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string|null $reason
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property string $peer_id_prefix
|
||||
*/
|
||||
class BlacklistClient extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -16,6 +16,17 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\BlockedIp.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property string $ip_address
|
||||
* @property string|null $reason
|
||||
* @property string|null $expires_at
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class BlockedIp extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -16,6 +16,18 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\BonExchange.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string|null $description
|
||||
* @property int $value
|
||||
* @property int $cost
|
||||
* @property bool $upload
|
||||
* @property bool $download
|
||||
* @property bool $personal_freeleech
|
||||
* @property bool $invite
|
||||
*/
|
||||
class BonExchange extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -16,6 +16,20 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\BonTransactions.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $bon_exchange_id
|
||||
* @property string $name
|
||||
* @property float $cost
|
||||
* @property int|null $sender_id
|
||||
* @property int|null $receiver_id
|
||||
* @property int|null $torrent_id
|
||||
* @property int|null $post_id
|
||||
* @property string $comment
|
||||
* @property string $created_at
|
||||
*/
|
||||
class BonTransactions extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Bookmark.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $torrent_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Bookmark extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,34 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Bot.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $position
|
||||
* @property string $name
|
||||
* @property string $command
|
||||
* @property string|null $color
|
||||
* @property string|null $icon
|
||||
* @property string|null $emoji
|
||||
* @property string|null $info
|
||||
* @property string|null $about
|
||||
* @property string|null $help
|
||||
* @property int $active
|
||||
* @property int $is_protected
|
||||
* @property int $is_triviabot
|
||||
* @property int $is_nerdbot
|
||||
* @property int $is_systembot
|
||||
* @property int $is_casinobot
|
||||
* @property int $is_betbot
|
||||
* @property int $uploaded
|
||||
* @property int $downloaded
|
||||
* @property int $fl_tokens
|
||||
* @property float $seedbonus
|
||||
* @property int $invites
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Bot extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,20 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\BotTransaction.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string|null $type
|
||||
* @property float $cost
|
||||
* @property int $user_id
|
||||
* @property int $bot_id
|
||||
* @property int $to_user
|
||||
* @property int $to_bot
|
||||
* @property string $comment
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class BotTransaction extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,21 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Category.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string|null $image
|
||||
* @property int $position
|
||||
* @property string $icon
|
||||
* @property int $no_meta
|
||||
* @property bool $music_meta
|
||||
* @property bool $game_meta
|
||||
* @property bool $tv_meta
|
||||
* @property bool $movie_meta
|
||||
* @property int $num_torrent
|
||||
*/
|
||||
class Category extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,16 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\ChatStatus.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $color
|
||||
* @property string|null $icon
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class ChatStatus extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -18,6 +18,14 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
|
||||
/**
|
||||
* App\Models\Chatroom.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Chatroom extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -16,6 +16,19 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Collection.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $name_sort
|
||||
* @property string|null $parts
|
||||
* @property string|null $overview
|
||||
* @property string|null $poster
|
||||
* @property string|null $backdrop
|
||||
* @property string|null $created_at
|
||||
* @property string|null $updated_at
|
||||
*/
|
||||
class Collection extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -21,6 +21,19 @@ use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Comment.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $content
|
||||
* @property int $anon
|
||||
* @property int|null $user_id
|
||||
* @property int|null $parent_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property string $commentable_type
|
||||
* @property int $commentable_id
|
||||
*/
|
||||
class Comment extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -16,6 +16,17 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Company.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string|null $description
|
||||
* @property string|null $headquarters
|
||||
* @property string|null $homepage
|
||||
* @property string|null $logo
|
||||
* @property string|null $origin_country
|
||||
*/
|
||||
class Company extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,17 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Credit.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $person_id
|
||||
* @property int|null $movie_id
|
||||
* @property int|null $tv_id
|
||||
* @property int $occupation_id
|
||||
* @property int|null $order
|
||||
* @property string|null $character
|
||||
*/
|
||||
class Credit extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,12 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Distributor.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
*/
|
||||
class Distributor extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -15,6 +15,14 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\EmailUpdate.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property \Illuminate\Support\Carbon $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $deleted_at
|
||||
*/
|
||||
class EmailUpdate extends Model
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -16,6 +16,25 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Episode.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string|null $overview
|
||||
* @property string|null $production_code
|
||||
* @property int $season_number
|
||||
* @property int $season_id
|
||||
* @property string|null $still
|
||||
* @property int $tv_id
|
||||
* @property string|null $type
|
||||
* @property string|null $vote_average
|
||||
* @property int|null $vote_count
|
||||
* @property string|null $air_date
|
||||
* @property int|null $episode_number
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Episode extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -16,6 +16,16 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\FailedLoginAttempt.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int|null $user_id
|
||||
* @property string $username
|
||||
* @property string $ip_address
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class FailedLoginAttempt extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\FeaturedTorrent.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $torrent_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class FeaturedTorrent extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -18,6 +18,24 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Forum.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int|null $position
|
||||
* @property int|null $num_topic
|
||||
* @property int|null $num_post
|
||||
* @property int|null $last_topic_id
|
||||
* @property string|null $last_topic_name
|
||||
* @property int|null $last_post_user_id
|
||||
* @property string|null $last_post_user_username
|
||||
* @property string|null $name
|
||||
* @property string|null $slug
|
||||
* @property string|null $description
|
||||
* @property int|null $parent_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Forum extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\FreeleechToken.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $torrent_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class FreeleechToken extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -16,6 +16,12 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Genre.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
*/
|
||||
class Genre extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -16,6 +16,15 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\GitUpdate.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $hash
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class GitUpdate extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,32 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Group.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $slug
|
||||
* @property int $position
|
||||
* @property int $level
|
||||
* @property int|null $download_slots
|
||||
* @property string $color
|
||||
* @property string $icon
|
||||
* @property string $effect
|
||||
* @property int $is_internal
|
||||
* @property int $is_editor
|
||||
* @property int $is_owner
|
||||
* @property int $is_admin
|
||||
* @property int $is_modo
|
||||
* @property int $is_trusted
|
||||
* @property int $is_immune
|
||||
* @property int $is_freeleech
|
||||
* @property int $is_double_upload
|
||||
* @property int $is_refundable
|
||||
* @property int $can_upload
|
||||
* @property int $is_incognito
|
||||
* @property int $autogroup
|
||||
*/
|
||||
class Group extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -16,6 +16,25 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\GuestStar.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string|null $imdb_id
|
||||
* @property string|null $known_for_department
|
||||
* @property string|null $place_of_birth
|
||||
* @property string|null $popularity
|
||||
* @property string|null $profile
|
||||
* @property string|null $still
|
||||
* @property string|null $adult
|
||||
* @property string|null $also_known_as
|
||||
* @property string|null $biography
|
||||
* @property string|null $birthday
|
||||
* @property string|null $deathday
|
||||
* @property string|null $gender
|
||||
* @property string|null $homepage
|
||||
*/
|
||||
class GuestStar extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,27 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use DateTimeInterface;
|
||||
|
||||
/**
|
||||
* App\Models\History.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $torrent_id
|
||||
* @property string $agent
|
||||
* @property int $uploaded
|
||||
* @property int $actual_uploaded
|
||||
* @property int $client_uploaded
|
||||
* @property int $downloaded
|
||||
* @property int $refunded_download
|
||||
* @property int $actual_downloaded
|
||||
* @property int $client_downloaded
|
||||
* @property int $seeder
|
||||
* @property int $active
|
||||
* @property int $seedtime
|
||||
* @property int $immune
|
||||
* @property bool $hitrun
|
||||
* @property bool $prewarn
|
||||
*/
|
||||
class History extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,14 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Internal.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $icon
|
||||
* @property string $effect
|
||||
*/
|
||||
class Internal extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -18,6 +18,21 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
/**
|
||||
* App\Models\Invite.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property string $email
|
||||
* @property string $code
|
||||
* @property string|null $expires_on
|
||||
* @property int|null $accepted_by
|
||||
* @property string|null $accepted_at
|
||||
* @property string|null $custom
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property \Illuminate\Support\Carbon|null $deleted_at
|
||||
*/
|
||||
class Invite extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -16,6 +16,15 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Keyword.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property int $torrent_id
|
||||
* @property string|null $created_at
|
||||
* @property string|null $updated_at
|
||||
*/
|
||||
class Keyword extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,17 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Like.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $post_id
|
||||
* @property bool|null $like
|
||||
* @property bool|null $dislike
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Like extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,15 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\MediaLanguage.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $code
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class MediaLanguage extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -18,6 +18,18 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use voku\helper\AntiXSS;
|
||||
|
||||
/**
|
||||
* App\Models\Message.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $chatroom_id
|
||||
* @property int|null $receiver_id
|
||||
* @property int|null $bot_id
|
||||
* @property string $message
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Message extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,34 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use App\Enums\Occupation;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Movie.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string|null $tmdb_id
|
||||
* @property string|null $imdb_id
|
||||
* @property string $title
|
||||
* @property string $title_sort
|
||||
* @property string|null $original_language
|
||||
* @property int|null $adult
|
||||
* @property string|null $backdrop
|
||||
* @property string|null $budget
|
||||
* @property string|null $homepage
|
||||
* @property string|null $original_title
|
||||
* @property string|null $overview
|
||||
* @property string|null $popularity
|
||||
* @property string|null $poster
|
||||
* @property string|null $release_date
|
||||
* @property string|null $revenue
|
||||
* @property string|null $runtime
|
||||
* @property string|null $status
|
||||
* @property string|null $tagline
|
||||
* @property string|null $vote_average
|
||||
* @property int|null $vote_count
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property string|null $trailer
|
||||
*/
|
||||
class Movie extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -16,6 +16,17 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Network.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string|null $description
|
||||
* @property string|null $logo
|
||||
* @property string|null $homepage
|
||||
* @property string|null $headquarters
|
||||
* @property string|null $origin_country
|
||||
*/
|
||||
class Network extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,16 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Note.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $staff_id
|
||||
* @property string $message
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Note extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,18 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Notification.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $type
|
||||
* @property int $notifiable_id
|
||||
* @property string $notifiable_type
|
||||
* @property string $data
|
||||
* @property string|null $read_at
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Notification extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,13 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Occupation.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $position
|
||||
* @property string $name
|
||||
*/
|
||||
class Occupation extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,16 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Option.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $poll_id
|
||||
* @property string $name
|
||||
* @property int $votes
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Option extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -19,6 +19,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Page.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string|null $name
|
||||
* @property string|null $content
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Page extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -15,6 +15,15 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Passkey.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property string $content
|
||||
* @property string $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $deleted_at
|
||||
*/
|
||||
class Passkey extends Model
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -17,6 +17,25 @@ use DateTimeInterface;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Peer.
|
||||
*
|
||||
* @property int $id
|
||||
* @property mixed $peer_id
|
||||
* @property mixed $ip
|
||||
* @property int $port
|
||||
* @property string $agent
|
||||
* @property int $uploaded
|
||||
* @property int $downloaded
|
||||
* @property int $left
|
||||
* @property bool $seeder
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property int $torrent_id
|
||||
* @property int $user_id
|
||||
* @property bool $connectable
|
||||
* @property bool $active
|
||||
*/
|
||||
class Peer extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,17 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Permission.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $forum_id
|
||||
* @property int $group_id
|
||||
* @property int $show_forum
|
||||
* @property int $read_topic
|
||||
* @property int $reply_topic
|
||||
* @property int $start_topic
|
||||
*/
|
||||
class Permission extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,25 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use App\Enums\Occupation;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Person.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string|null $imdb_id
|
||||
* @property string|null $known_for_department
|
||||
* @property string|null $place_of_birth
|
||||
* @property string|null $popularity
|
||||
* @property string|null $profile
|
||||
* @property string|null $still
|
||||
* @property string|null $adult
|
||||
* @property string|null $also_known_as
|
||||
* @property string|null $biography
|
||||
* @property string|null $birthday
|
||||
* @property string|null $deathday
|
||||
* @property string|null $gender
|
||||
* @property string|null $homepage
|
||||
*/
|
||||
class Person extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,14 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\PersonalFreeleech.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class PersonalFreeleech extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -20,6 +20,21 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use voku\helper\AntiXSS;
|
||||
|
||||
/**
|
||||
* App\Models\Playlist.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property string $name
|
||||
* @property string $description
|
||||
* @property string|null $cover_image
|
||||
* @property int|null $position
|
||||
* @property int $is_private
|
||||
* @property int $is_pinned
|
||||
* @property int $is_featured
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Playlist extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Relations\Pivot;
|
||||
|
||||
/**
|
||||
* App\Models\PlaylistTorrent.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int|null $position
|
||||
* @property int $playlist_id
|
||||
* @property int $torrent_id
|
||||
* @property int $tmdb_id
|
||||
*/
|
||||
class PlaylistTorrent extends Pivot
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,16 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Poll.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property string $title
|
||||
* @property int $multiple_choice
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Poll extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -20,6 +20,16 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use voku\helper\AntiXSS;
|
||||
|
||||
/**
|
||||
* App\Models\Post.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $content
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property int $user_id
|
||||
* @property int $topic_id
|
||||
*/
|
||||
class Post extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -19,6 +19,19 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use voku\helper\AntiXSS;
|
||||
|
||||
/**
|
||||
* App\Models\PrivateMessage.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $sender_id
|
||||
* @property int $receiver_id
|
||||
* @property string $subject
|
||||
* @property string $message
|
||||
* @property int $read
|
||||
* @property int|null $related_to
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class PrivateMessage extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -16,6 +16,20 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Recommendation.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $title
|
||||
* @property string|null $poster
|
||||
* @property string|null $vote_average
|
||||
* @property string|null $release_date
|
||||
* @property string|null $first_air_date
|
||||
* @property int|null $movie_id
|
||||
* @property int|null $recommendation_movie_id
|
||||
* @property int|null $tv_id
|
||||
* @property int|null $recommendation_tv_id
|
||||
*/
|
||||
class Recommendation extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,13 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Region.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property int $position
|
||||
*/
|
||||
class Region extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,23 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Report.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $type
|
||||
* @property int $reporter_id
|
||||
* @property int|null $staff_id
|
||||
* @property string $title
|
||||
* @property string $message
|
||||
* @property int $solved
|
||||
* @property string|null $verdict
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property int|null $reported_user
|
||||
* @property int|null $torrent_id
|
||||
* @property int|null $request_id
|
||||
*/
|
||||
class Report extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,13 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Resolution.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property int $position
|
||||
*/
|
||||
class Resolution extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,17 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Resurrection.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $torrent_id
|
||||
* @property int $seedtime
|
||||
* @property bool $rewarded
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Resurrection extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -19,6 +19,20 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use stdClass;
|
||||
|
||||
/**
|
||||
* App\Models\Rss.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $position
|
||||
* @property string $name
|
||||
* @property int $user_id
|
||||
* @property int $is_private
|
||||
* @property int $is_torrent
|
||||
* @property array $json_torrent
|
||||
* @property \Illuminate\Support\Carbon|null $deleted_at
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Rss extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -15,6 +15,15 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Rsskey.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property string $content
|
||||
* @property string $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $deleted_at
|
||||
*/
|
||||
class Rsskey extends Model
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -16,6 +16,19 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Season.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $tv_id
|
||||
* @property int $season_number
|
||||
* @property string|null $name
|
||||
* @property string|null $overview
|
||||
* @property string|null $poster
|
||||
* @property string|null $air_date
|
||||
* @property string|null $created_at
|
||||
* @property string|null $updated_at
|
||||
*/
|
||||
class Season extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -18,6 +18,16 @@ use App\Traits\Encryptable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Seedbox.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property string $name
|
||||
* @property string $ip
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Seedbox extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -18,6 +18,16 @@ use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Subscription.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int|null $forum_id
|
||||
* @property int|null $topic_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Subscription extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -19,6 +19,27 @@ use App\Models\Scopes\ApprovedScope;
|
||||
use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Subtitle.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $title
|
||||
* @property string $file_name
|
||||
* @property int $file_size
|
||||
* @property int $language_id
|
||||
* @property string $extension
|
||||
* @property string|null $note
|
||||
* @property int|null $downloads
|
||||
* @property int $verified
|
||||
* @property int $user_id
|
||||
* @property int $torrent_id
|
||||
* @property int $anon
|
||||
* @property int $status
|
||||
* @property \Illuminate\Support\Carbon|null $moderated_at
|
||||
* @property int|null $moderated_by
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Subtitle extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Thank.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $torrent_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Thank extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -7,6 +7,24 @@ use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Ticket.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $category_id
|
||||
* @property int $priority_id
|
||||
* @property int|null $staff_id
|
||||
* @property int|null $user_read
|
||||
* @property int|null $staff_read
|
||||
* @property string $subject
|
||||
* @property string $body
|
||||
* @property \Illuminate\Support\Carbon|null $closed_at
|
||||
* @property \Illuminate\Support\Carbon|null $reminded_at
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property string|null $deleted_at
|
||||
*/
|
||||
class Ticket extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -6,6 +6,19 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\TicketAttachment.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $ticket_id
|
||||
* @property string|null $file_name
|
||||
* @property string|null $file_size
|
||||
* @property string|null $file_extension
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property string|null $deleted_at
|
||||
*/
|
||||
class TicketAttachment extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -6,6 +6,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\TicketCategory.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property int $position
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class TicketCategory extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -6,6 +6,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\TicketPriority.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property int $position
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class TicketPriority extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -18,6 +18,31 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Topic.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string|null $state
|
||||
* @property bool $pinned
|
||||
* @property bool $approved
|
||||
* @property bool $denied
|
||||
* @property bool $solved
|
||||
* @property bool $invalid
|
||||
* @property bool $bug
|
||||
* @property bool $suggestion
|
||||
* @property bool $implemented
|
||||
* @property int|null $num_post
|
||||
* @property int|null $first_post_user_id
|
||||
* @property int|null $last_post_user_id
|
||||
* @property string|null $first_post_user_username
|
||||
* @property string|null $last_post_user_username
|
||||
* @property \Illuminate\Support\Carbon|null $last_reply_at
|
||||
* @property int|null $views
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property int $forum_id
|
||||
*/
|
||||
class Topic extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
+51
-1
@@ -28,7 +28,57 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use voku\helper\AntiXSS;
|
||||
|
||||
/**
|
||||
* @property string $info_hash
|
||||
* App\Models\Torrent.
|
||||
*
|
||||
* @property string $info_hash
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $description
|
||||
* @property string|null $mediainfo
|
||||
* @property string|null $bdinfo
|
||||
* @property string $file_name
|
||||
* @property int $num_file
|
||||
* @property string|null $folder
|
||||
* @property float $size
|
||||
* @property mixed|null $nfo
|
||||
* @property int $leechers
|
||||
* @property int $seeders
|
||||
* @property int $times_completed
|
||||
* @property int|null $category_id
|
||||
* @property int $user_id
|
||||
* @property int $imdb
|
||||
* @property int $tvdb
|
||||
* @property int $tmdb
|
||||
* @property int $mal
|
||||
* @property int $igdb
|
||||
* @property int|null $season_number
|
||||
* @property int|null $episode_number
|
||||
* @property int $stream
|
||||
* @property int $free
|
||||
* @property bool $doubleup
|
||||
* @property bool $refundable
|
||||
* @property int $highspeed
|
||||
* @property \Illuminate\Database\Eloquent\Collection<int, \App\Models\FeaturedTorrent> $featured
|
||||
* @property int $status
|
||||
* @property \Illuminate\Support\Carbon|null $moderated_at
|
||||
* @property int|null $moderated_by
|
||||
* @property int $anon
|
||||
* @property bool $sticky
|
||||
* @property int $sd
|
||||
* @property int $internal
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property string|null $bumped_at
|
||||
* @property \Illuminate\Support\Carbon|null $fl_until
|
||||
* @property \Illuminate\Support\Carbon|null $du_until
|
||||
* @property string|null $release_year
|
||||
* @property int $type_id
|
||||
* @property int|null $resolution_id
|
||||
* @property int|null $distributor_id
|
||||
* @property int|null $region_id
|
||||
* @property int $personal_release
|
||||
* @property int|null $balance
|
||||
* @property int|null $balance_offset
|
||||
*/
|
||||
class Torrent extends Model
|
||||
{
|
||||
|
||||
@@ -5,6 +5,16 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\TorrentDownload.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $torrent_id
|
||||
* @property string $type
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class TorrentDownload extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,14 @@ use App\Helpers\StringHelper;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\TorrentFile.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property int $size
|
||||
* @property int $torrent_id
|
||||
*/
|
||||
class TorrentFile extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -21,6 +21,34 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use voku\helper\AntiXSS;
|
||||
|
||||
/**
|
||||
* App\Models\TorrentRequest.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property int $category_id
|
||||
* @property int|null $imdb
|
||||
* @property int|null $tvdb
|
||||
* @property int|null $tmdb
|
||||
* @property int|null $mal
|
||||
* @property int $igdb
|
||||
* @property string $description
|
||||
* @property int $user_id
|
||||
* @property float $bounty
|
||||
* @property int $votes
|
||||
* @property int|null $claimed
|
||||
* @property int $anon
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property int|null $filled_by
|
||||
* @property int|null $torrent_id
|
||||
* @property \Illuminate\Support\Carbon|null $filled_when
|
||||
* @property int $filled_anon
|
||||
* @property int|null $approved_by
|
||||
* @property \Illuminate\Support\Carbon|null $approved_when
|
||||
* @property int $type_id
|
||||
* @property int|null $resolution_id
|
||||
*/
|
||||
class TorrentRequest extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,17 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\TorrentRequestBounty.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property float $seedbonus
|
||||
* @property int $requests_id
|
||||
* @property int $anon
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class TorrentRequestBounty extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -18,6 +18,16 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
/**
|
||||
* App\Models\TorrentRequestClaim.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $request_id
|
||||
* @property int $user_id
|
||||
* @property int $anon
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class TorrentRequestClaim extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,40 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use App\Enums\Occupation;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Tv.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string|null $tmdb_id
|
||||
* @property string|null $imdb_id
|
||||
* @property string|null $tvdb_id
|
||||
* @property string|null $type
|
||||
* @property string $name
|
||||
* @property string $name_sort
|
||||
* @property string|null $overview
|
||||
* @property int|null $number_of_episodes
|
||||
* @property int|null $count_existing_episodes
|
||||
* @property int|null $count_total_episodes
|
||||
* @property int|null $number_of_seasons
|
||||
* @property string|null $episode_run_time
|
||||
* @property string|null $first_air_date
|
||||
* @property string|null $status
|
||||
* @property string|null $homepage
|
||||
* @property int|null $in_production
|
||||
* @property string|null $last_air_date
|
||||
* @property string|null $next_episode_to_air
|
||||
* @property string|null $origin_country
|
||||
* @property string|null $original_language
|
||||
* @property string|null $original_name
|
||||
* @property string|null $popularity
|
||||
* @property string|null $backdrop
|
||||
* @property string|null $poster
|
||||
* @property string|null $vote_average
|
||||
* @property int|null $vote_count
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property string|null $trailer
|
||||
*/
|
||||
class Tv extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,13 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Type.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property int $position
|
||||
*/
|
||||
class Type extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -27,6 +27,66 @@ use Illuminate\Notifications\Notifiable;
|
||||
use Laravel\Fortify\TwoFactorAuthenticatable;
|
||||
use voku\helper\AntiXSS;
|
||||
|
||||
/**
|
||||
* App\Models\User.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $username
|
||||
* @property string $email
|
||||
* @property string $password
|
||||
* @property string|null $two_factor_secret
|
||||
* @property string|null $two_factor_recovery_codes
|
||||
* @property string|null $two_factor_confirmed_at
|
||||
* @property string $passkey
|
||||
* @property int $group_id
|
||||
* @property int|null $internal_id
|
||||
* @property int $active
|
||||
* @property int $uploaded
|
||||
* @property int $downloaded
|
||||
* @property string|null $image
|
||||
* @property string|null $title
|
||||
* @property string|null $about
|
||||
* @property string|null $signature
|
||||
* @property int $fl_tokens
|
||||
* @property float $seedbonus
|
||||
* @property int $invites
|
||||
* @property int $hitandruns
|
||||
* @property string $rsskey
|
||||
* @property int $chatroom_id
|
||||
* @property int $censor
|
||||
* @property int $chat_hidden
|
||||
* @property bool $hidden
|
||||
* @property int $style
|
||||
* @property int $torrent_layout
|
||||
* @property int $torrent_filters
|
||||
* @property string|null $custom_css
|
||||
* @property string|null $standalone_css
|
||||
* @property int $read_rules
|
||||
* @property bool $can_chat
|
||||
* @property bool $can_comment
|
||||
* @property bool $can_download
|
||||
* @property bool $can_request
|
||||
* @property bool $can_invite
|
||||
* @property bool $can_upload
|
||||
* @property int $show_poster
|
||||
* @property int $peer_hidden
|
||||
* @property int $private_profile
|
||||
* @property int $block_notifications
|
||||
* @property int $stat_hidden
|
||||
* @property string|null $remember_token
|
||||
* @property string|null $api_token
|
||||
* @property \Illuminate\Support\Carbon|null $last_login
|
||||
* @property \Illuminate\Support\Carbon|null $last_action
|
||||
* @property string|null $disabled_at
|
||||
* @property int|null $deleted_by
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property string $locale
|
||||
* @property int $chat_status_id
|
||||
* @property \Illuminate\Support\Carbon|null $deleted_at
|
||||
* @property int $own_flushes
|
||||
* @property string|null $email_verified_at
|
||||
*/
|
||||
class User extends Authenticatable implements MustVerifyEmail
|
||||
{
|
||||
use Achiever;
|
||||
|
||||
@@ -17,6 +17,9 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\UserActivation.
|
||||
*/
|
||||
class UserActivation extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -16,6 +16,18 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\UserAudible.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int|null $room_id
|
||||
* @property int|null $target_id
|
||||
* @property int|null $bot_id
|
||||
* @property int $status
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class UserAudible extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -16,6 +16,17 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\UserEcho.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int|null $room_id
|
||||
* @property int|null $target_id
|
||||
* @property int|null $bot_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class UserEcho extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -16,6 +16,41 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\UserNotification.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $show_bon_gift
|
||||
* @property int $show_mention_forum_post
|
||||
* @property int $show_mention_article_comment
|
||||
* @property int $show_mention_request_comment
|
||||
* @property int $show_mention_torrent_comment
|
||||
* @property int $show_subscription_topic
|
||||
* @property int $show_subscription_forum
|
||||
* @property int $show_forum_topic
|
||||
* @property int $show_following_upload
|
||||
* @property int $show_request_bounty
|
||||
* @property int $show_request_comment
|
||||
* @property int $show_request_fill
|
||||
* @property int $show_request_fill_approve
|
||||
* @property int $show_request_fill_reject
|
||||
* @property int $show_request_claim
|
||||
* @property int $show_request_unclaim
|
||||
* @property int $show_torrent_comment
|
||||
* @property int $show_torrent_tip
|
||||
* @property int $show_torrent_thank
|
||||
* @property int $show_account_follow
|
||||
* @property int $show_account_unfollow
|
||||
* @property array $json_account_groups
|
||||
* @property array $json_bon_groups
|
||||
* @property array $json_mention_groups
|
||||
* @property array $json_request_groups
|
||||
* @property array $json_torrent_groups
|
||||
* @property array $json_forum_groups
|
||||
* @property array $json_following_groups
|
||||
* @property array $json_subscription_groups
|
||||
*/
|
||||
class UserNotification extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -16,6 +16,51 @@ namespace App\Models;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\UserPrivacy.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $show_achievement
|
||||
* @property int $show_bon
|
||||
* @property int $show_comment
|
||||
* @property int $show_download
|
||||
* @property int $show_follower
|
||||
* @property int $show_online
|
||||
* @property int $show_peer
|
||||
* @property int $show_post
|
||||
* @property int $show_profile
|
||||
* @property int $show_profile_about
|
||||
* @property int $show_profile_achievement
|
||||
* @property int $show_profile_badge
|
||||
* @property int $show_profile_follower
|
||||
* @property int $show_profile_title
|
||||
* @property int $show_profile_bon_extra
|
||||
* @property int $show_profile_comment_extra
|
||||
* @property int $show_profile_forum_extra
|
||||
* @property int $show_profile_request_extra
|
||||
* @property int $show_profile_torrent_count
|
||||
* @property int $show_profile_torrent_extra
|
||||
* @property int $show_profile_torrent_ratio
|
||||
* @property int $show_profile_torrent_seed
|
||||
* @property int $show_profile_warning
|
||||
* @property int $show_rank
|
||||
* @property int $show_requested
|
||||
* @property int $show_topic
|
||||
* @property int $show_upload
|
||||
* @property int $show_wishlist
|
||||
* @property array $json_profile_groups
|
||||
* @property array $json_torrent_groups
|
||||
* @property array $json_forum_groups
|
||||
* @property array $json_bon_groups
|
||||
* @property array $json_comment_groups
|
||||
* @property array $json_wishlist_groups
|
||||
* @property array $json_follower_groups
|
||||
* @property array $json_achievement_groups
|
||||
* @property array $json_rank_groups
|
||||
* @property array $json_request_groups
|
||||
* @property array $json_other_groups
|
||||
*/
|
||||
class UserPrivacy extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
@@ -17,6 +17,15 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Voter.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $poll_id
|
||||
* @property int $user_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Voter extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -19,6 +19,21 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
/**
|
||||
* App\Models\Warning.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $warned_by
|
||||
* @property int|null $torrent
|
||||
* @property string $reason
|
||||
* @property string|null $expires_on
|
||||
* @property bool $active
|
||||
* @property int|null $deleted_by
|
||||
* @property \Illuminate\Support\Carbon|null $deleted_at
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Warning extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -6,6 +6,16 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Watchlist.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $staff_id
|
||||
* @property string $message
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Watchlist extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
@@ -17,6 +17,16 @@ use App\Helpers\Bbcode;
|
||||
use App\Helpers\MarkdownExtra;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Wiki.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $content
|
||||
* @property int $category_id
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Wiki extends Model
|
||||
{
|
||||
protected $guarded = [];
|
||||
|
||||
@@ -15,6 +15,14 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\WikiCategory.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $icon
|
||||
* @property int $position
|
||||
*/
|
||||
class WikiCategory extends Model
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -17,6 +17,18 @@ use App\Traits\Auditable;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Wish.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property string $title
|
||||
* @property string $tmdb
|
||||
* @property string $type
|
||||
* @property string|null $source
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
*/
|
||||
class Wish extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
+178
-8
@@ -10,25 +10,40 @@ parameters:
|
||||
count: 1
|
||||
path: app/Actions/Fortify/ResetUserPassword.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\User\\:\\:\\$active \\(int\\) does not accept true\\.$#"
|
||||
count: 1
|
||||
path: app/Actions/Fortify/ResetUserPassword.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Actions\\\\Fortify\\\\UpdateUserPassword\\:\\:passwordRules\\(\\) return type has no value type specified in iterable type array\\.$#"
|
||||
count: 1
|
||||
path: app/Actions/Fortify/UpdateUserPassword.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\BotTransaction\\:\\:\\$to_bot \\(int\\) does not accept true\\.$#"
|
||||
count: 1
|
||||
path: app/Bots/CasinoBot.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\BotTransaction\\:\\:\\$to_bot \\(int\\) does not accept true\\.$#"
|
||||
count: 1
|
||||
path: app/Bots/NerdBot.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#"
|
||||
count: 1
|
||||
path: app/Console/Commands/AutoBanDisposableUsers.php
|
||||
|
||||
-
|
||||
message: "#^Called 'pluck' on Laravel collection, but could have been retrieved as a query\\.$#"
|
||||
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:filter\\(\\) expects \\(callable\\(mixed, int\\|string\\)\\: bool\\)\\|null, Closure\\(mixed\\)\\: \\(non\\-falsy\\-string\\|false\\) given\\.$#"
|
||||
count: 1
|
||||
path: app/Console/Commands/AutoHighspeedTag.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$callback of method Illuminate\\\\Support\\\\Collection\\<\\(int\\|string\\),mixed\\>\\:\\:filter\\(\\) expects \\(callable\\(mixed, int\\|string\\)\\: bool\\)\\|null, Closure\\(mixed\\)\\: \\(non\\-falsy\\-string\\|false\\) given\\.$#"
|
||||
message: "#^Property App\\\\Models\\\\Torrent\\:\\:\\$featured \\(Illuminate\\\\Database\\\\Eloquent\\\\Collection\\<int, App\\\\Models\\\\FeaturedTorrent\\>\\) does not accept false\\.$#"
|
||||
count: 1
|
||||
path: app/Console/Commands/AutoHighspeedTag.php
|
||||
path: app/Console/Commands/AutoRemoveFeaturedTorrent.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Console\\\\Commands\\\\DemoSeed\\:\\:fetchMovie\\(\\) has no return type specified\\.$#"
|
||||
@@ -570,6 +585,21 @@ parameters:
|
||||
count: 2
|
||||
path: app/Http/Controllers/API/ChatController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\UserAudible\\:\\:\\$status \\(int\\) does not accept bool\\.$#"
|
||||
count: 3
|
||||
path: app/Http/Controllers/API/ChatController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\UserAudible\\:\\:\\$status \\(int\\) does not accept false\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/API/ChatController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\UserAudible\\:\\:\\$status \\(int\\) does not accept true\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/API/ChatController.php
|
||||
|
||||
-
|
||||
message: "#^Access to an undefined property App\\\\Models\\\\Category\\|Illuminate\\\\Database\\\\Eloquent\\\\Collection\\<int, App\\\\Models\\\\Category\\>\\:\\:\\$id\\.$#"
|
||||
count: 1
|
||||
@@ -621,9 +651,9 @@ parameters:
|
||||
path: app/Http/Controllers/API/TorrentController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Torrent\\:\\:\\$nfo \\(string\\) does not accept bool\\|string\\|null\\.$#"
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/API/TorrentController.php
|
||||
path: app/Http/Controllers/ApprovedRequestFillController.php
|
||||
|
||||
-
|
||||
message: "#^Access to an undefined property App\\\\Models\\\\Torrent\\:\\:\\$meta\\.$#"
|
||||
@@ -745,6 +775,11 @@ parameters:
|
||||
count: 2
|
||||
path: app/Http/Controllers/RssController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Rss\\:\\:\\$is_private \\(int\\) does not accept true\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/RssController.php
|
||||
|
||||
-
|
||||
message: "#^Unable to resolve the template type TKey in call to function collect$#"
|
||||
count: 2
|
||||
@@ -755,6 +790,66 @@ parameters:
|
||||
count: 2
|
||||
path: app/Http/Controllers/SimilarTorrentController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_if expects bool, int given\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/Staff/ChatBotController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\History\\:\\:\\$active \\(int\\) does not accept false\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/Staff/FlushController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Permission\\:\\:\\$read_topic \\(int\\) does not accept bool\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/Staff/ForumController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Permission\\:\\:\\$read_topic \\(int\\) does not accept false\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/Staff/ForumController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Permission\\:\\:\\$reply_topic \\(int\\) does not accept bool\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/Staff/ForumController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Permission\\:\\:\\$reply_topic \\(int\\) does not accept false\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/Staff/ForumController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Permission\\:\\:\\$show_forum \\(int\\) does not accept bool\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/Staff/ForumController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Permission\\:\\:\\$show_forum \\(int\\) does not accept false\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/Staff/ForumController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Permission\\:\\:\\$start_topic \\(int\\) does not accept bool\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/Staff/ForumController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Permission\\:\\:\\$start_topic \\(int\\) does not accept false\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/Staff/ForumController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_if expects bool, int given\\.$#"
|
||||
count: 3
|
||||
path: app/Http/Controllers/Staff/RssController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Rss\\:\\:\\$is_private \\(int\\) does not accept false\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/Staff/RssController.php
|
||||
|
||||
-
|
||||
message: "#^Access to an undefined property App\\\\Models\\\\Group\\|Illuminate\\\\Database\\\\Eloquent\\\\Collection\\<int, App\\\\Models\\\\Group\\>\\:\\:\\$level\\.$#"
|
||||
count: 1
|
||||
@@ -765,11 +860,51 @@ parameters:
|
||||
count: 1
|
||||
path: app/Http/Controllers/Staff/VersionController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 2
|
||||
path: app/Http/Controllers/TicketAssigneeController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/TicketController.php
|
||||
|
||||
-
|
||||
message: "#^Access to an undefined property App\\\\Models\\\\Post\\:\\:\\$post_count\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/TopicController.php
|
||||
|
||||
-
|
||||
message: "#^Comparison operation \"\\=\\=\" between Illuminate\\\\Database\\\\Eloquent\\\\Collection\\<int, App\\\\Models\\\\FeaturedTorrent\\> and 0 results in an error\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/TorrentBuffController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/TorrentBuffController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Torrent\\:\\:\\$featured \\(Illuminate\\\\Database\\\\Eloquent\\\\Collection\\<int, App\\\\Models\\\\FeaturedTorrent\\>\\) does not accept false\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/TorrentBuffController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Torrent\\:\\:\\$featured \\(Illuminate\\\\Database\\\\Eloquent\\\\Collection\\<int, App\\\\Models\\\\FeaturedTorrent\\>\\) does not accept true\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/TorrentBuffController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Models\\\\Torrent\\:\\:\\$refundable \\(bool\\) does not accept int\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/TorrentBuffController.php
|
||||
|
||||
-
|
||||
message: "#^Comparison operation \"\\=\\=\" between Illuminate\\\\Database\\\\Eloquent\\\\Collection\\<int, App\\\\Models\\\\FeaturedTorrent\\> and 1 results in an error\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Controllers/TorrentController.php
|
||||
|
||||
-
|
||||
message: "#^Unable to resolve the template type TKey in call to function collect$#"
|
||||
count: 2
|
||||
@@ -785,6 +920,11 @@ parameters:
|
||||
count: 1
|
||||
path: app/Http/Controllers/User/GeneralSettingController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 4
|
||||
path: app/Http/Controllers/User/WarningController.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Http\\\\Livewire\\\\AttachmentUpload\\:\\:\\$attachment has no type specified\\.$#"
|
||||
count: 1
|
||||
@@ -840,6 +980,11 @@ parameters:
|
||||
count: 1
|
||||
path: app/Http/Livewire/BlockIpAddress.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Livewire/BlockIpAddress.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Http\\\\Livewire\\\\BlockIpAddress\\:\\:\\$rules has no type specified\\.$#"
|
||||
count: 1
|
||||
@@ -1056,15 +1201,20 @@ parameters:
|
||||
path: app/Http/Livewire/TorrentSearch.php
|
||||
|
||||
-
|
||||
message: "#^Access to an undefined property App\\\\Models\\\\User\\:\\:\\$two_factor_confirmed_at\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Livewire/TwoFactorAuthForm.php
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 3
|
||||
path: app/Http/Livewire/UserNotes.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Http\\\\Livewire\\\\UserSearch\\:\\:toggleProperties\\(\\) has parameter \\$property with no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Livewire/UserSearch.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 7
|
||||
path: app/Http/Livewire/UserWarnings.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\Http\\\\Livewire\\\\UserWarnings\\:\\:\\$rules has no type specified\\.$#"
|
||||
count: 1
|
||||
@@ -1075,6 +1225,21 @@ parameters:
|
||||
count: 1
|
||||
path: app/Http/Livewire/WarningLogSearch.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Middleware/CheckForAdmin.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Middleware/CheckForModo.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$boolean of function abort_unless expects bool, int given\\.$#"
|
||||
count: 1
|
||||
path: app/Http/Middleware/CheckForOwner.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Http\\\\Middleware\\\\SetLanguage\\:\\:setSystemLocale\\(\\) has parameter \\$request with no type specified\\.$#"
|
||||
count: 1
|
||||
@@ -1175,6 +1340,11 @@ parameters:
|
||||
count: 1
|
||||
path: app/Models/Post.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Models\\\\Topic\\:\\:viewable\\(\\) should return bool but returns int\\|null\\.$#"
|
||||
count: 1
|
||||
path: app/Models/Topic.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$string of function htmlspecialchars expects string, array\\<string\\>\\|string given\\.$#"
|
||||
count: 1
|
||||
|
||||
Reference in New Issue
Block a user