Skip to content

Firefly III: a personal finances manager

New php docs [skip ci]

James Colef13a6f7bf90d
diff --git a/app/Models/Account.php b/app/Models/Account.php
index c28e5408de..83e756efcb 100644
--- a/app/Models/Account.php
+++ b/app/Models/Account.php
@@ -94,6 +94,12 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @property-read int|null $notes_count
* @property-read int|null $piggy_banks_count
* @property-read int|null $transactions_count
+ * @property \Illuminate\Support\Carbon|null $created_at
+ * @property \Illuminate\Support\Carbon|null $updated_at
+ * @property int $account_type_id
+ * @property bool $encrypted
+ * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\AccountMeta[] $accountMeta
+ * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\PiggyBank[] $piggyBanks
*/
class Account extends Model
{
diff --git a/app/Models/Bill.php b/app/Models/Bill.php
index 1b47e30d5c..30697af841 100644
--- a/app/Models/Bill.php
+++ b/app/Models/Bill.php
@@ -89,6 +89,8 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @property-read int|null $attachments_count
* @property-read int|null $notes_count
* @property-read int|null $transaction_journals_count
+ * @property bool $name_encrypted
+ * @property bool $match_encrypted
*/
class Bill extends Model
{
diff --git a/app/Models/Budget.php b/app/Models/Budget.php
index 5a977ebdf2..94c118c490 100644
--- a/app/Models/Budget.php
+++ b/app/Models/Budget.php
@@ -77,6 +77,10 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @property-read int|null $budgetlimits_count
* @property-read int|null $transaction_journals_count
* @property-read int|null $transactions_count
+ * @property \Illuminate\Support\Carbon|null $created_at
+ * @property \Illuminate\Support\Carbon|null $updated_at
+ * @property bool $encrypted
+ * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\BudgetLimit[] $budgetlimits
*/
class Budget extends Model
{
diff --git a/app/Models/Category.php b/app/Models/Category.php
index 48640838c6..7d8ab4e35a 100644
--- a/app/Models/Category.php
+++ b/app/Models/Category.php
@@ -70,6 +70,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @property-read int|null $attachments_count
* @property-read int|null $transaction_journals_count
* @property-read int|null $transactions_count
+ * @property bool $encrypted
*/
class Category extends Model
{
diff --git a/app/Models/ImportJob.php b/app/Models/ImportJob.php
index e23bc0eae7..fd43e2c4be 100644
--- a/app/Models/ImportJob.php
+++ b/app/Models/ImportJob.php
@@ -35,8 +35,8 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
/**
* Class ImportJob.
*
- * @codeCoverageIgnore
- * @deprecated
+ * @codeCoverageIgnore
+ * @deprecated
* @property array $transactions
* @property array $configuration
* @property User $user
@@ -73,6 +73,8 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @method static Builder|ImportJob whereUserId($value)
* @mixin Eloquent
* @property-read int|null $attachments_count
+ * @property int $id
+ * @property array|null $extended_status
*/
class ImportJob extends Model
{
diff --git a/app/Models/PiggyBank.php b/app/Models/PiggyBank.php
index 732cb98c98..43912b4538 100644
--- a/app/Models/PiggyBank.php
+++ b/app/Models/PiggyBank.php
@@ -78,6 +78,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @property-read int|null $notes_count
* @property-read int|null $piggy_bank_events_count
* @property-read int|null $piggy_bank_repetitions_count
+ * @property bool $encrypted
*/
class PiggyBank extends Model
{
diff --git a/app/Models/PiggyBankEvent.php b/app/Models/PiggyBankEvent.php
index dd7e14654a..133e8bf14d 100644
--- a/app/Models/PiggyBankEvent.php
+++ b/app/Models/PiggyBankEvent.php
@@ -51,6 +51,10 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
* @method static Builder|PiggyBankEvent whereTransactionJournalId($value)
* @method static Builder|PiggyBankEvent whereUpdatedAt($value)
* @mixin Eloquent
+ * @property \Illuminate\Support\Carbon|null $created_at
+ * @property \Illuminate\Support\Carbon|null $updated_at
+ * @property \Illuminate\Support\Carbon $date
+ * @property-read \FireflyIII\Models\TransactionJournal|null $transactionJournal
*/
class PiggyBankEvent extends Model
{
diff --git a/app/Models/Preference.php b/app/Models/Preference.php
index 7136fc914b..771ae9817e 100644
--- a/app/Models/Preference.php
+++ b/app/Models/Preference.php
@@ -50,6 +50,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @method static Builder|Preference whereUpdatedAt($value)
* @method static Builder|Preference whereUserId($value)
* @mixin Eloquent
+ * @property-read \FireflyIII\User $user
*/
class Preference extends Model
{
diff --git a/app/Models/RecurrenceTransaction.php b/app/Models/RecurrenceTransaction.php
index cc07306bd9..889bf90d12 100644
--- a/app/Models/RecurrenceTransaction.php
+++ b/app/Models/RecurrenceTransaction.php
@@ -76,6 +76,7 @@ use Illuminate\Support\Collection;
* @method static Builder|RecurrenceTransaction withoutTrashed()
* @mixin Eloquent
* @property-read int|null $recurrence_transaction_meta_count
+ * @property int $transaction_currency_id
*/
class RecurrenceTransaction extends Model
{
diff --git a/app/Models/RuleGroup.php b/app/Models/RuleGroup.php
index bdc08ea3c6..e6097e6718 100644
--- a/app/Models/RuleGroup.php
+++ b/app/Models/RuleGroup.php
@@ -69,6 +69,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @mixin Eloquent
* @property-read int|null $rules_count
* @method static \Illuminate\Database\Eloquent\Builder|RuleGroup whereStopProcessing($value)
+ * @property string|null $description
*/
class RuleGroup extends Model
{
diff --git a/app/Models/Tag.php b/app/Models/Tag.php
index 1a7834771e..45c56c3368 100644
--- a/app/Models/Tag.php
+++ b/app/Models/Tag.php
@@ -78,6 +78,13 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @property-read \Illuminate\Database\Eloquent\Collection|Location[] $locations
* @property-read int|null $locations_count
* @property-read int|null $transaction_journals_count
+ * @property \Illuminate\Support\Carbon|null $created_at
+ * @property \Illuminate\Support\Carbon|null $updated_at
+ * @property string $tagMode
+ * @property string|null $description
+ * @property float|null $latitude
+ * @property float|null $longitude
+ * @property int|null $zoomLevel
*/
class Tag extends Model
{
diff --git a/app/Models/Transaction.php b/app/Models/Transaction.php
index b49c1157b6..d6a5eef39f 100644
--- a/app/Models/Transaction.php
+++ b/app/Models/Transaction.php
@@ -132,6 +132,9 @@ use Illuminate\Database\Eloquent\SoftDeletes;
* @mixin Eloquent
* @property-read int|null $budgets_count
* @property-read int|null $categories_count
+ * @property \Illuminate\Support\Carbon|null $created_at
+ * @property \Illuminate\Support\Carbon|null $updated_at
+ * @property bool $reconciled
*/
class Transaction extends Model
{
diff --git a/app/Models/TransactionCurrency.php b/app/Models/TransactionCurrency.php
index 5b05bc9cd5..8d1ca509af 100644
--- a/app/Models/TransactionCurrency.php
+++ b/app/Models/TransactionCurrency.php
@@ -67,6 +67,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @property-read int|null $budget_limits_count
* @property-read int|null $transaction_journals_count
* @property-read int|null $transactions_count
+ * @property string $name
*/
class TransactionCurrency extends Model
{
diff --git a/app/Models/TransactionJournal.php b/app/Models/TransactionJournal.php
index 74e548e7c7..637d68e2b0 100644
--- a/app/Models/TransactionJournal.php
+++ b/app/Models/TransactionJournal.php
@@ -121,6 +121,18 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @property-read int|null $transaction_journal_meta_count
* @property-read int|null $transactions_count
* @method static EloquentBuilder|TransactionJournal whereTransactionGroupId($value)
+ * @property int $user_id
+ * @property int|null $transaction_group_id
+ * @property int|null $transaction_currency_id
+ * @property \Illuminate\Support\Carbon|null $interest_date
+ * @property \Illuminate\Support\Carbon|null $book_date
+ * @property \Illuminate\Support\Carbon|null $process_date
+ * @property int $order
+ * @property bool $encrypted
+ * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Budget[] $budgets
+ * @property-read \FireflyIII\Models\TransactionGroup|null $transactionGroup
+ * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\TransactionJournalMeta[] $transactionJournalMeta
+ * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Transaction[] $transactions
*/
class TransactionJournal extends Model
{
diff --git a/app/User.php b/app/User.php
index 52b514cb4c..c13227cd2c 100644
--- a/app/User.php
+++ b/app/User.php
@@ -138,6 +138,10 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
* @property-read int|null $transactions_count
* @method static \Illuminate\Database\Eloquent\Builder|\FireflyIII\User whereMfaSecret($value)
* @method static \Illuminate\Database\Eloquent\Builder|\FireflyIII\User whereObjectguid($value)
+ * @property string $password
+ * @property bool $blocked
+ * @property string|null $blocked_code
+ * @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Role[] $roles
*/
class User extends Authenticatable
{