mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Clean up references to static Facade.
This commit is contained in:
@@ -30,7 +30,7 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
*
|
||||
* @property string $type
|
||||
* @method whereType(string $type)
|
||||
* @property int $id
|
||||
* @property int $id
|
||||
*
|
||||
*/
|
||||
class AccountType extends Model
|
||||
|
||||
@@ -50,7 +50,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property int $skip
|
||||
* @property bool $automatch
|
||||
* @property User $user
|
||||
* @property string $match
|
||||
* @property string $match
|
||||
*/
|
||||
class Bill extends Model
|
||||
{
|
||||
|
||||
@@ -32,10 +32,10 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
/**
|
||||
* Class Budget.
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property bool $active
|
||||
* @property int $user_id
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property bool $active
|
||||
* @property int $user_id
|
||||
* @property-read string $email
|
||||
*/
|
||||
class Budget extends Model
|
||||
|
||||
@@ -40,7 +40,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
* @property string $file_type
|
||||
* @property int $tag_id
|
||||
* @property Tag $tag
|
||||
* @property array $errors
|
||||
* @property array $errors
|
||||
*/
|
||||
class ImportJob extends Model
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
* @property Carbon $updated_at
|
||||
* @property string $text
|
||||
* @property string $title
|
||||
* @property int $noteable_id
|
||||
* @property int $noteable_id
|
||||
*/
|
||||
class Note extends Model
|
||||
{
|
||||
|
||||
@@ -73,7 +73,7 @@ class RecurrenceTransaction extends Model
|
||||
*/
|
||||
public function destinationAccount(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Account::class,'destination_id');
|
||||
return $this->belongsTo(Account::class, 'destination_id');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -109,7 +109,7 @@ class RecurrenceTransaction extends Model
|
||||
*/
|
||||
public function sourceAccount(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Account::class,'source_id');
|
||||
return $this->belongsTo(Account::class, 'source_id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,14 +32,14 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
/**
|
||||
* Class RuleGroup.
|
||||
*
|
||||
* @property bool $active
|
||||
* @property User $user
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
* @property string $title
|
||||
* @property string $text
|
||||
* @property int $id
|
||||
* @property int $order
|
||||
* @property bool $active
|
||||
* @property User $user
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
* @property string $title
|
||||
* @property string $text
|
||||
* @property int $id
|
||||
* @property int $order
|
||||
* @property Collection $rules
|
||||
*/
|
||||
class RuleGroup extends Model
|
||||
|
||||
@@ -34,7 +34,6 @@ use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Support\Collection;
|
||||
use Log;
|
||||
use Preferences;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
/**
|
||||
@@ -396,7 +395,7 @@ class TransactionJournal extends Model
|
||||
}
|
||||
$entry->data = $value;
|
||||
$entry->save();
|
||||
Preferences::mark();
|
||||
app('preferences')->mark();
|
||||
|
||||
return $entry;
|
||||
}
|
||||
|
||||
@@ -32,8 +32,8 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
* @property string $name
|
||||
* @property int $transaction_journal_id
|
||||
* @property TransactionJournal $transactionJournal
|
||||
* @property string $data
|
||||
* @property int $id
|
||||
* @property string $data
|
||||
* @property int $id
|
||||
*/
|
||||
class TransactionJournalMeta extends Model
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user