Code cleanup

This commit is contained in:
James Cole
2018-04-28 06:23:13 +02:00
parent 6f0e1c79ac
commit 13b78bdc20
218 changed files with 621 additions and 681 deletions

View File

@@ -41,23 +41,18 @@ use Log;
/**
* Trait ImportSupport.
*
* @property int $defaultCurrencyId
* @property ImportJob $job
* @property JournalRepositoryInterface $journalRepository;
* @property Collection $rules
*/
trait ImportSupport
{
/** @var int */
protected $defaultCurrencyId = 1;
/** @var ImportJob */
protected $job;
/** @var JournalRepositoryInterface */
protected $journalRepository;
/** @var Collection */
protected $rules;
/**
* @param TransactionJournal $journal
*
* @return bool
* @throws \FireflyIII\Exceptions\FireflyException
*/
protected function applyRules(TransactionJournal $journal): bool
{