mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Cleaner model docblock thing [skip ci]
This commit is contained in:
@@ -42,6 +42,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperAccount
|
||||
*/
|
||||
class Account extends Model
|
||||
{
|
||||
use Cachable;
|
||||
|
@@ -9,6 +9,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperAccountBalance
|
||||
*/
|
||||
class AccountBalance extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
@@ -31,6 +31,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperAccountMeta
|
||||
*/
|
||||
class AccountMeta extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -32,6 +32,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperAccountType
|
||||
*/
|
||||
class AccountType extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -38,6 +38,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperAttachment
|
||||
*/
|
||||
class Attachment extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -34,6 +34,9 @@ use Illuminate\Database\Eloquent\Relations\MorphTo;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperAuditLogEntry
|
||||
*/
|
||||
class AuditLogEntry extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -33,6 +33,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperAutoBudget
|
||||
*/
|
||||
class AutoBudget extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -36,6 +36,9 @@ use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperAvailableBudget
|
||||
*/
|
||||
class AvailableBudget extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -39,6 +39,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperBill
|
||||
*/
|
||||
class Bill extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -40,6 +40,9 @@ use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperBudget
|
||||
*/
|
||||
class Budget extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -36,6 +36,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperBudgetLimit
|
||||
*/
|
||||
class BudgetLimit extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -38,6 +38,9 @@ use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperCategory
|
||||
*/
|
||||
class Category extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -30,6 +30,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperConfiguration
|
||||
*/
|
||||
class Configuration extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -35,6 +35,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperCurrencyExchangeRate
|
||||
*/
|
||||
class CurrencyExchangeRate extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -34,6 +34,9 @@ use Illuminate\Database\Eloquent\Casts\Attribute;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperGroupMembership
|
||||
*/
|
||||
class GroupMembership extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -35,6 +35,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperInvitedUser
|
||||
*/
|
||||
class InvitedUser extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -33,6 +33,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperLinkType
|
||||
*/
|
||||
class LinkType extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -35,6 +35,9 @@ use Illuminate\Database\Eloquent\Relations\MorphMany;
|
||||
use Illuminate\Database\Eloquent\Relations\MorphTo;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperLocation
|
||||
*/
|
||||
class Location extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -33,6 +33,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperNote
|
||||
*/
|
||||
class Note extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -38,6 +38,9 @@ use Illuminate\Database\Eloquent\Relations\MorphToMany;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperObjectGroup
|
||||
*/
|
||||
class ObjectGroup extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -37,6 +37,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperPiggyBank
|
||||
*/
|
||||
class PiggyBank extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -32,6 +32,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperPiggyBankEvent
|
||||
*/
|
||||
class PiggyBankEvent extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -32,6 +32,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperPiggyBankRepetition
|
||||
*/
|
||||
class PiggyBankRepetition extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -34,6 +34,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperPreference
|
||||
*/
|
||||
class Preference extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -38,6 +38,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperRecurrence
|
||||
*/
|
||||
class Recurrence extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -32,6 +32,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperRecurrenceMeta
|
||||
*/
|
||||
class RecurrenceMeta extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -32,6 +32,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperRecurrenceRepetition
|
||||
*/
|
||||
class RecurrenceRepetition extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -34,6 +34,9 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperRecurrenceTransaction
|
||||
*/
|
||||
class RecurrenceTransaction extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -32,6 +32,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperRecurrenceTransactionMeta
|
||||
*/
|
||||
class RecurrenceTransactionMeta extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -32,6 +32,9 @@ use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperRole
|
||||
*/
|
||||
class Role extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -38,6 +38,9 @@ use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperRule
|
||||
*/
|
||||
class Rule extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -35,6 +35,9 @@ use Illuminate\Support\Facades\Log;
|
||||
use Symfony\Component\ExpressionLanguage\SyntaxError;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperRuleAction
|
||||
*/
|
||||
class RuleAction extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -38,6 +38,9 @@ use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperRuleGroup
|
||||
*/
|
||||
class RuleGroup extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -32,6 +32,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperRuleTrigger
|
||||
*/
|
||||
class RuleTrigger extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -37,6 +37,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperTag
|
||||
*/
|
||||
class Tag extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -36,6 +36,9 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperTransaction
|
||||
*/
|
||||
class Transaction extends Model
|
||||
{
|
||||
use Cachable;
|
||||
|
@@ -36,6 +36,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperTransactionCurrency
|
||||
*/
|
||||
class TransactionCurrency extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -36,6 +36,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperTransactionGroup
|
||||
*/
|
||||
class TransactionGroup extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -41,6 +41,9 @@ use Illuminate\Database\Eloquent\Relations\MorphMany;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperTransactionJournal
|
||||
*/
|
||||
class TransactionJournal extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
@@ -35,6 +35,9 @@ use Illuminate\Database\Eloquent\Relations\MorphMany;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperTransactionJournalLink
|
||||
*/
|
||||
class TransactionJournalLink extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -33,6 +33,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Database\Query\Builder;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperTransactionJournalMeta
|
||||
*/
|
||||
class TransactionJournalMeta extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -34,6 +34,9 @@ use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperTransactionType
|
||||
*/
|
||||
class TransactionType extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -38,6 +38,9 @@ use Illuminate\Database\Eloquent\Relations\HasManyThrough;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperUserGroup
|
||||
*/
|
||||
class UserGroup extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -33,6 +33,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperUserRole
|
||||
*/
|
||||
class UserRole extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -40,6 +40,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperWebhook
|
||||
*/
|
||||
class Webhook extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -35,6 +35,9 @@ use Illuminate\Database\Query\Builder;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperWebhookAttempt
|
||||
*/
|
||||
class WebhookAttempt extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
@@ -36,6 +36,9 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
|
||||
/**
|
||||
* @mixin IdeHelperWebhookMessage
|
||||
*/
|
||||
class WebhookMessage extends Model
|
||||
{
|
||||
use ReturnsIntegerIdTrait;
|
||||
|
Reference in New Issue
Block a user