Remove parameter and make fields private.

This commit is contained in:
James Cole 2016-02-17 20:25:20 +01:00
parent 7cb86d0254
commit b3aecec11d

View File

@ -28,9 +28,9 @@ class TransactionMatcher
private $limit = 10;
/** @var array */
protected $transactionTypes = [TransactionType::DEPOSIT, TransactionType::WITHDRAWAL, TransactionType::TRANSFER];
private $transactionTypes = [TransactionType::DEPOSIT, TransactionType::WITHDRAWAL, TransactionType::TRANSFER];
/** @var array List of triggers to match */
protected $triggers = [];
private $triggers = [];
/**
* Find matching transactions for the current set of triggers
@ -39,7 +39,7 @@ class TransactionMatcher
*
* @return array
*/
public function findMatchingTransactions($maxResults = 50)
public function findMatchingTransactions()
{
/** @var JournalRepositoryInterface $repository */
$repository = app('FireflyIII\Repositories\Journal\JournalRepositoryInterface');