mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 01:16:46 -06:00
Remove parameter and make fields private.
This commit is contained in:
parent
7cb86d0254
commit
b3aecec11d
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user