From f9de65c035acf0c3b3b55bc0157d8d7ef7e1326e Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 12 Mar 2016 07:36:23 +0100 Subject: [PATCH] Expand phpdoc. --- app/Models/Account.php | 12 ++++++++++ app/Models/AccountMeta.php | 7 ++++++ app/Models/AccountType.php | 6 +++++ app/Models/Attachment.php | 16 ++++++++++++++ app/Models/Bill.php | 16 ++++++++++++++ app/Models/Budget.php | 9 ++++++++ app/Models/BudgetLimit.php | 9 ++++++++ app/Models/Category.php | 8 +++++++ app/Models/Component.php | 8 +++++++ app/Models/ExportJob.php | 7 ++++++ app/Models/LimitRepetition.php | 8 +++++++ app/Models/PiggyBank.php | 15 +++++++++++++ app/Models/PiggyBankEvent.php | 8 +++++++ app/Models/PiggyBankRepetition.php | 8 +++++++ app/Models/Preference.php | 9 ++++++++ app/Models/Role.php | 7 ++++++ app/Models/Rule.php | 12 ++++++++++ app/Models/RuleAction.php | 10 +++++++++ app/Models/RuleGroup.php | 10 +++++++++ app/Models/RuleTrigger.php | 10 +++++++++ app/Models/Tag.php | 13 +++++++++++ app/Models/Transaction.php | 9 ++++++++ app/Models/TransactionCurrency.php | 8 +++++++ app/Models/TransactionGroup.php | 7 ++++++ app/Models/TransactionJournal.php | 22 +++++++++++++++++-- app/Models/TransactionJournalMeta.php | 13 +++++++++++ app/Models/TransactionType.php | 6 +++++ .../Models/TransactionJournalSupport.php | 1 + app/User.php | 10 +++++++++ 29 files changed, 282 insertions(+), 2 deletions(-) diff --git a/app/Models/Account.php b/app/Models/Account.php index 06e36431cb..28a3c904ec 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -37,6 +37,18 @@ use Watson\Validating\ValidatingTrait; * @property \Carbon\Carbon $lastActivityDate * @property float $piggyBalance * @property float $percentage + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereAccountTypeId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereActive($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereEncrypted($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereVirtualBalance($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Account whereIban($value) + * @mixin \Eloquent */ class Account extends Model { diff --git a/app/Models/AccountMeta.php b/app/Models/AccountMeta.php index cf44fb4c8a..aaa4f2ca44 100644 --- a/app/Models/AccountMeta.php +++ b/app/Models/AccountMeta.php @@ -12,6 +12,13 @@ use Illuminate\Database\Eloquent\Model; * @property string $name * @property string $data * @property-read Account $account + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountMeta whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountMeta whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountMeta whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountMeta whereAccountId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountMeta whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountMeta whereData($value) + * @mixin \Eloquent */ class AccountMeta extends Model { diff --git a/app/Models/AccountType.php b/app/Models/AccountType.php index bf4727ee19..7af6352c90 100644 --- a/app/Models/AccountType.php +++ b/app/Models/AccountType.php @@ -11,6 +11,12 @@ use Illuminate\Database\Eloquent\Model; * @property string $type * @property boolean $editable * @property-read \Illuminate\Database\Eloquent\Collection|Account[] $accounts + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountType whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountType whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountType whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountType whereType($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\AccountType whereEditable($value) + * @mixin \Eloquent */ class AccountType extends Model { diff --git a/app/Models/Attachment.php b/app/Models/Attachment.php index 8397fda56d..7685847ac2 100644 --- a/app/Models/Attachment.php +++ b/app/Models/Attachment.php @@ -29,6 +29,22 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property boolean $uploaded * @property-read Attachment $attachable * @property-read \FireflyIII\User $user + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereAttachableId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereAttachableType($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereMd5($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereFilename($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereTitle($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereDescription($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereNotes($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereMime($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereSize($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Attachment whereUploaded($value) + * @mixin \Eloquent */ class Attachment extends Model { diff --git a/app/Models/Bill.php b/app/Models/Bill.php index 5094390e7c..167ea38842 100644 --- a/app/Models/Bill.php +++ b/app/Models/Bill.php @@ -27,6 +27,22 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property-read \FireflyIII\User $user * @property \Carbon\Carbon $nextExpectedMatch * @property \Carbon\Carbon $lastFoundMatch + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereMatch($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereAmountMin($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereAmountMax($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereDate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereActive($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereAutomatch($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereRepeatFreq($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereSkip($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereNameEncrypted($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Bill whereMatchEncrypted($value) + * @mixin \Eloquent */ class Bill extends Model { diff --git a/app/Models/Budget.php b/app/Models/Budget.php index 231c70bcf5..8b26f14c3c 100644 --- a/app/Models/Budget.php +++ b/app/Models/Budget.php @@ -24,6 +24,15 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property string $budgeted * @property float $amount * @property \Carbon\Carbon $date + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Budget whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Budget whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Budget whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Budget whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Budget whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Budget whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Budget whereActive($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Budget whereEncrypted($value) + * @mixin \Eloquent */ class Budget extends Model { diff --git a/app/Models/BudgetLimit.php b/app/Models/BudgetLimit.php index de3733c353..ca8c76f34f 100644 --- a/app/Models/BudgetLimit.php +++ b/app/Models/BudgetLimit.php @@ -15,6 +15,15 @@ use Illuminate\Database\Eloquent\Model; * @property string $repeat_freq * @property-read Budget $budget * @property-read \Illuminate\Database\Eloquent\Collection|LimitRepetition[] $limitrepetitions + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\BudgetLimit whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\BudgetLimit whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\BudgetLimit whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\BudgetLimit whereBudgetId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\BudgetLimit whereStartdate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\BudgetLimit whereAmount($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\BudgetLimit whereRepeats($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\BudgetLimit whereRepeatFreq($value) + * @mixin \Eloquent */ class BudgetLimit extends Model { diff --git a/app/Models/Category.php b/app/Models/Category.php index f18ddb75a4..ef6d20c3f9 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -22,6 +22,14 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property float $spent * @property \Carbon\Carbon $lastActivity * @property string $type + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Category whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Category whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Category whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Category whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Category whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Category whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Category whereEncrypted($value) + * @mixin \Eloquent */ class Category extends Model { diff --git a/app/Models/Component.php b/app/Models/Component.php index fca471f070..5e8214d2aa 100644 --- a/app/Models/Component.php +++ b/app/Models/Component.php @@ -14,6 +14,14 @@ use Illuminate\Database\Eloquent\Model; * @property string $name * @property integer $user_id * @property string $class + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereClass($value) + * @mixin \Eloquent */ class Component extends Model { diff --git a/app/Models/ExportJob.php b/app/Models/ExportJob.php index 17583ef18c..e37316f7cc 100644 --- a/app/Models/ExportJob.php +++ b/app/Models/ExportJob.php @@ -26,6 +26,13 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property string $key * @property string $status * @property-read \FireflyIII\User $user + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\ExportJob whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\ExportJob whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\ExportJob whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\ExportJob whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\ExportJob whereKey($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\ExportJob whereStatus($value) + * @mixin \Eloquent */ class ExportJob extends Model { diff --git a/app/Models/LimitRepetition.php b/app/Models/LimitRepetition.php index e08bcc1160..7257b67689 100644 --- a/app/Models/LimitRepetition.php +++ b/app/Models/LimitRepetition.php @@ -16,6 +16,14 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property float $amount * @property-read BudgetLimit $budgetLimit * @property int $budget_id + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\LimitRepetition whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\LimitRepetition whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\LimitRepetition whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\LimitRepetition whereBudgetLimitId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\LimitRepetition whereStartdate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\LimitRepetition whereEnddate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\LimitRepetition whereAmount($value) + * @mixin \Eloquent */ class LimitRepetition extends Model { diff --git a/app/Models/PiggyBank.php b/app/Models/PiggyBank.php index 300da75cfc..7d9b753900 100644 --- a/app/Models/PiggyBank.php +++ b/app/Models/PiggyBank.php @@ -27,6 +27,21 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property-read \Illuminate\Database\Eloquent\Collection|PiggyBankEvent[] $piggyBankEvents * @property string $reminder * @property PiggyBankRepetition $currentRep + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereAccountId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereTargetamount($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereStartdate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereTargetdate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereReminder($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereReminderSkip($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereRemindMe($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereOrder($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBank whereEncrypted($value) + * @mixin \Eloquent */ class PiggyBank extends Model { diff --git a/app/Models/PiggyBankEvent.php b/app/Models/PiggyBankEvent.php index 3077c58f23..28beaa6df1 100644 --- a/app/Models/PiggyBankEvent.php +++ b/app/Models/PiggyBankEvent.php @@ -14,6 +14,14 @@ use Illuminate\Database\Eloquent\Model; * @property float $amount * @property PiggyBank $piggyBank * @property-read TransactionJournal $transactionJournal + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankEvent whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankEvent whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankEvent whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankEvent wherePiggyBankId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankEvent whereTransactionJournalId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankEvent whereDate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankEvent whereAmount($value) + * @mixin \Eloquent */ class PiggyBankEvent extends Model { diff --git a/app/Models/PiggyBankRepetition.php b/app/Models/PiggyBankRepetition.php index eb099856d2..6778171229 100644 --- a/app/Models/PiggyBankRepetition.php +++ b/app/Models/PiggyBankRepetition.php @@ -17,6 +17,14 @@ use Illuminate\Database\Eloquent\Model; * @property-read PiggyBank $piggyBank * @method static \Illuminate\Database\Query\Builder|PiggyBankRepetition onDates($start, $target) * @method static \Illuminate\Database\Query\Builder|PiggyBankRepetition relevantOnDate($date) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankRepetition whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankRepetition whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankRepetition whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankRepetition wherePiggyBankId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankRepetition whereStartdate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankRepetition whereTargetdate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\PiggyBankRepetition whereCurrentamount($value) + * @mixin \Eloquent */ class PiggyBankRepetition extends Model { diff --git a/app/Models/Preference.php b/app/Models/Preference.php index 8a72948656..b3520e0a0c 100644 --- a/app/Models/Preference.php +++ b/app/Models/Preference.php @@ -15,6 +15,15 @@ use Illuminate\Database\Eloquent\Model; * @property string $data * @property string $data_encrypted * @property-read \FireflyIII\User $user + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Preference whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Preference whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Preference whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Preference whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Preference whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Preference whereNameEncrypted($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Preference whereData($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Preference whereDataEncrypted($value) + * @mixin \Eloquent */ class Preference extends Model { diff --git a/app/Models/Role.php b/app/Models/Role.php index b7f045e6c0..9052cc2d96 100644 --- a/app/Models/Role.php +++ b/app/Models/Role.php @@ -18,6 +18,13 @@ use Illuminate\Database\Eloquent\Relations\BelongsToMany; * @property \Carbon\Carbon $created_at * @property \Carbon\Carbon $updated_at * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\User[] $users + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Role whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Role whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Role whereDisplayName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Role whereDescription($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Role whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Role whereUpdatedAt($value) + * @mixin \Eloquent */ class Role extends Model { diff --git a/app/Models/Rule.php b/app/Models/Rule.php index 7186707559..7805f32752 100644 --- a/app/Models/Rule.php +++ b/app/Models/Rule.php @@ -34,6 +34,18 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property-read \FireflyIII\Models\RuleGroup $ruleGroup * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\RuleAction[] $ruleActions * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\RuleTrigger[] $ruleTriggers + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereRuleGroupId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereOrder($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereActive($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereStopProcessing($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereTitle($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Rule whereDescription($value) + * @mixin \Eloquent */ class Rule extends Model { diff --git a/app/Models/RuleAction.php b/app/Models/RuleAction.php index 181a2ce287..a789a3fc00 100644 --- a/app/Models/RuleAction.php +++ b/app/Models/RuleAction.php @@ -26,6 +26,16 @@ use Illuminate\Database\Eloquent\Model; * @property string $action_type * @property string $action_value * @property-read \FireflyIII\Models\Rule $rule + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleAction whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleAction whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleAction whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleAction whereRuleId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleAction whereOrder($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleAction whereActive($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleAction whereStopProcessing($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleAction whereActionType($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleAction whereActionValue($value) + * @mixin \Eloquent */ class RuleAction extends Model { diff --git a/app/Models/RuleGroup.php b/app/Models/RuleGroup.php index 215c54fbdd..c440d1b499 100644 --- a/app/Models/RuleGroup.php +++ b/app/Models/RuleGroup.php @@ -30,6 +30,16 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property boolean $active * @property-read \FireflyIII\User $user * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Rule[] $rules + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleGroup whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleGroup whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleGroup whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleGroup whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleGroup whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleGroup whereOrder($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleGroup whereTitle($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleGroup whereDescription($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleGroup whereActive($value) + * @mixin \Eloquent */ class RuleGroup extends Model { diff --git a/app/Models/RuleTrigger.php b/app/Models/RuleTrigger.php index dc92048977..3c5e92bc4a 100644 --- a/app/Models/RuleTrigger.php +++ b/app/Models/RuleTrigger.php @@ -26,6 +26,16 @@ use Illuminate\Database\Eloquent\Model; * @property boolean $active * @property boolean $stop_processing * @property-read \FireflyIII\Models\Rule $rule + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleTrigger whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleTrigger whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleTrigger whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleTrigger whereRuleId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleTrigger whereOrder($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleTrigger whereActive($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleTrigger whereStopProcessing($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleTrigger whereTriggerType($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\RuleTrigger whereTriggerValue($value) + * @mixin \Eloquent */ class RuleTrigger extends Model { diff --git a/app/Models/Tag.php b/app/Models/Tag.php index 39ed16c9b8..b214986e21 100644 --- a/app/Models/Tag.php +++ b/app/Models/Tag.php @@ -26,6 +26,19 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property-read \Illuminate\Database\Eloquent\Collection|TransactionJournal[] $transactionjournals * @property-read \FireflyIII\User $user * @property int $account_id + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereTag($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereTagMode($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereDate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereDescription($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereLatitude($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereLongitude($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Tag whereZoomLevel($value) + * @mixin \Eloquent */ class Tag extends Model { diff --git a/app/Models/Transaction.php b/app/Models/Transaction.php index 90d7d72146..e8f8cd8097 100644 --- a/app/Models/Transaction.php +++ b/app/Models/Transaction.php @@ -23,6 +23,15 @@ use Watson\Validating\ValidatingTrait; * @method static \Illuminate\Database\Query\Builder|Transaction before($date) * @property float $before * @property float $after + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction whereAccountId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction whereTransactionJournalId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction whereDescription($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Transaction whereAmount($value) + * @mixin \Eloquent */ class Transaction extends Model { diff --git a/app/Models/TransactionCurrency.php b/app/Models/TransactionCurrency.php index bee2755a6a..736f7fdb09 100644 --- a/app/Models/TransactionCurrency.php +++ b/app/Models/TransactionCurrency.php @@ -16,6 +16,14 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; * @property string $name * @property string $symbol * @property-read \Illuminate\Database\Eloquent\Collection|TransactionJournal[] $transactionJournals + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionCurrency whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionCurrency whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionCurrency whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionCurrency whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionCurrency whereCode($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionCurrency whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionCurrency whereSymbol($value) + * @mixin \Eloquent */ class TransactionCurrency extends Model { diff --git a/app/Models/TransactionGroup.php b/app/Models/TransactionGroup.php index 45b525bb00..dbaf18e7a2 100644 --- a/app/Models/TransactionGroup.php +++ b/app/Models/TransactionGroup.php @@ -14,6 +14,13 @@ use Illuminate\Database\Eloquent\SoftDeletes; * @property string $relation * @property-read \Illuminate\Database\Eloquent\Collection|TransactionJournal[] $transactionjournals * @property-read \FireflyIII\User $user + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionGroup whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionGroup whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionGroup whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionGroup whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionGroup whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionGroup whereRelation($value) + * @mixin \Eloquent */ class TransactionGroup extends Model { diff --git a/app/Models/TransactionJournal.php b/app/Models/TransactionJournal.php index 1a60632da9..ccc8f4a2af 100644 --- a/app/Models/TransactionJournal.php +++ b/app/Models/TransactionJournal.php @@ -45,7 +45,6 @@ use Watson\Validating\ValidatingTrait; * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal after($date) * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal before($date) * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal transactionTypes($types) - * * @property-read string $transaction_type_type * @property-read string $transaction_currency_code * @property-read string $destination_amount @@ -56,7 +55,26 @@ use Watson\Validating\ValidatingTrait; * @property-read string $source_account_id * @property-read string $source_account_name * @property-read string $source_account_type - * + * @property string $process_date + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereUserId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereTransactionTypeId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereBillId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereTransactionCurrencyId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereDescription($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereCompleted($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereDate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereInterestDate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereBookDate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereProcessDate($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereEncrypted($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereOrder($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal whereTagCount($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournal expanded() + * @mixin \Eloquent */ class TransactionJournal extends TransactionJournalSupport { diff --git a/app/Models/TransactionJournalMeta.php b/app/Models/TransactionJournalMeta.php index a9bbef4300..2f29a41785 100644 --- a/app/Models/TransactionJournalMeta.php +++ b/app/Models/TransactionJournalMeta.php @@ -17,6 +17,19 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo; * * @package FireflyIII\Models * @property-read \FireflyIII\Models\TransactionJournal $transactionjournal + * @property integer $id + * @property \Carbon\Carbon $created_at + * @property \Carbon\Carbon $updated_at + * @property integer $transaction_journal_id + * @property string $name + * @property string $data + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournalMeta whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournalMeta whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournalMeta whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournalMeta whereTransactionJournalId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournalMeta whereName($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionJournalMeta whereData($value) + * @mixin \Eloquent */ class TransactionJournalMeta extends Model { diff --git a/app/Models/TransactionType.php b/app/Models/TransactionType.php index 801cc9c6d0..c6c39a1946 100644 --- a/app/Models/TransactionType.php +++ b/app/Models/TransactionType.php @@ -12,6 +12,12 @@ use Illuminate\Database\Eloquent\SoftDeletes; * @property \Carbon\Carbon $deleted_at * @property string $type * @property-read \Illuminate\Database\Eloquent\Collection|TransactionJournal[] $transactionJournals + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionType whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionType whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionType whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionType whereDeletedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\TransactionType whereType($value) + * @mixin \Eloquent */ class TransactionType extends Model { diff --git a/app/Support/Models/TransactionJournalSupport.php b/app/Support/Models/TransactionJournalSupport.php index f10c4b3cb3..0357b05d0b 100644 --- a/app/Support/Models/TransactionJournalSupport.php +++ b/app/Support/Models/TransactionJournalSupport.php @@ -21,6 +21,7 @@ use Illuminate\Database\Eloquent\Model; * Class TransactionJournalSupport * * @package FireflyIII\Support\Models + * @mixin \Eloquent */ class TransactionJournalSupport extends Model { diff --git a/app/User.php b/app/User.php index f8158f757c..6879e9c226 100644 --- a/app/User.php +++ b/app/User.php @@ -33,6 +33,16 @@ use Illuminate\Foundation\Auth\User as Authenticatable; * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\RuleGroup[] $ruleGroups * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Rule[] $rules * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\ExportJob[] $exportjobs + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\User whereId($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\User whereCreatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\User whereUpdatedAt($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\User whereEmail($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\User wherePassword($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\User whereRememberToken($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\User whereReset($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\User whereBlocked($value) + * @method static \Illuminate\Database\Query\Builder|\FireflyIII\User whereBlockedCode($value) + * @mixin \Eloquent */ class User extends Authenticatable {