Various code cleanup [skip ci]

This commit is contained in:
James Cole
2018-03-10 22:38:20 +01:00
parent a55d18709c
commit aad0864018
59 changed files with 118 additions and 120 deletions

View File

@@ -22,7 +22,6 @@ declare(strict_types=1);
namespace FireflyIII\Models;
use Carbon\Carbon;
use Crypt;
use FireflyIII\Exceptions\FireflyException;
use Illuminate\Contracts\Encryption\DecryptException;

View File

@@ -32,6 +32,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
/**
* Class ImportJob.
*
* @property User $user
*/
class ImportJob extends Model

View File

@@ -90,6 +90,7 @@ class PiggyBank extends Model
/**
* Grabs the PiggyBankRepetition that's currently relevant / active.
*
* @deprecated
* @returns PiggyBankRepetition
*/
@@ -153,6 +154,7 @@ class PiggyBank extends Model
/**
* @param Carbon $date
*
* @deprecated
* @return string
*/

View File

@@ -26,6 +26,7 @@ use Illuminate\Database\Eloquent\Model;
/**
* Class PiggyBankEvent.
*
* @property $piggyBank
*/
class PiggyBankEvent extends Model

View File

@@ -31,6 +31,7 @@ use Log;
/**
* Class Preference.
*
* @property mixed $data
*/
class Preference extends Model

View File

@@ -91,7 +91,7 @@ class Transaction extends Model
*/
protected $fillable
= ['account_id', 'transaction_journal_id', 'description', 'amount', 'identifier', 'transaction_currency_id', 'foreign_currency_id',
'foreign_amount','reconciled'];
'foreign_amount', 'reconciled'];
/**
* @var array
*/