mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Improve code quality.
This commit is contained in:
@@ -45,6 +45,12 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property bool $active
|
||||
* @property string $virtual_balance
|
||||
* @property User $user
|
||||
* @property mixed|null startBalance
|
||||
* @property mixed|null endBalance
|
||||
* @property string difference
|
||||
* @property mixed|null endBalance
|
||||
* @property mixed|null startBalance
|
||||
* @property mixed|null lastActivityDate
|
||||
*/
|
||||
class Account extends Model
|
||||
{
|
||||
|
@@ -47,6 +47,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property int $size
|
||||
* @property User $user
|
||||
* @property bool $uploaded
|
||||
* @property bool file_exists
|
||||
*/
|
||||
class Attachment extends Model
|
||||
{
|
||||
|
@@ -37,6 +37,8 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property Carbon $start_date
|
||||
* @property Carbon $end_date
|
||||
* @property string $amount
|
||||
* @property int $budget_id
|
||||
* @property string spent
|
||||
*/
|
||||
class BudgetLimit extends Model
|
||||
{
|
||||
@@ -46,7 +48,7 @@ class BudgetLimit extends Model
|
||||
* @var array
|
||||
*/
|
||||
protected $casts
|
||||
= [
|
||||
= [
|
||||
'created_at' => 'datetime',
|
||||
'updated_at' => 'datetime',
|
||||
'start_date' => 'date',
|
||||
|
@@ -32,9 +32,10 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
/**
|
||||
* Class Category.
|
||||
*
|
||||
* @property string $name
|
||||
* @property int $id
|
||||
* @property float $spent // used in category reports
|
||||
* @property string $name
|
||||
* @property int $id
|
||||
* @property float $spent // used in category reports
|
||||
* @property Carbon|null lastActivity
|
||||
*/
|
||||
class Category extends Model
|
||||
{
|
||||
|
@@ -32,6 +32,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property User $user
|
||||
* @property string $key
|
||||
* @property int $user_id
|
||||
* @property mixed status
|
||||
*/
|
||||
class ExportJob extends Model
|
||||
{
|
||||
|
@@ -31,6 +31,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property int $transaction_journal_id
|
||||
* @property int $piggy_bank_id
|
||||
* @property int $id
|
||||
* @property mixed date
|
||||
*/
|
||||
class PiggyBankEvent extends Model
|
||||
{
|
||||
|
@@ -40,6 +40,8 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property Carbon $updated_at
|
||||
* @property Carbon $created_at
|
||||
* @property int $id
|
||||
* @property mixed user
|
||||
* @property mixed user
|
||||
*/
|
||||
class Preference extends Model
|
||||
{
|
||||
|
@@ -33,6 +33,14 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property string $symbol
|
||||
* @property int $decimal_places
|
||||
* @property int $id
|
||||
* @property mixed name
|
||||
* @property mixed name
|
||||
* @property mixed name
|
||||
* @property mixed name
|
||||
* @property mixed name
|
||||
* @property mixed name
|
||||
* @property mixed name
|
||||
* @property mixed name
|
||||
*
|
||||
*/
|
||||
class TransactionCurrency extends Model
|
||||
|
@@ -49,6 +49,12 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property int transaction_currency_id
|
||||
* @property TransactionCurrency $transactionCurrency
|
||||
* @property Collection $tags
|
||||
* @property mixed user_id
|
||||
* @property mixed transactions
|
||||
* @property int transaction_count
|
||||
* @property Carbon interest_date
|
||||
* @property Carbon book_date
|
||||
* @property Carbon process_date
|
||||
*/
|
||||
class TransactionJournal extends Model
|
||||
{
|
||||
|
Reference in New Issue
Block a user