mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -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;
|
private $limit = 10;
|
||||||
|
|
||||||
/** @var array */
|
/** @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 */
|
/** @var array List of triggers to match */
|
||||||
protected $triggers = [];
|
private $triggers = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find matching transactions for the current set of triggers
|
* Find matching transactions for the current set of triggers
|
||||||
@ -39,7 +39,7 @@ class TransactionMatcher
|
|||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function findMatchingTransactions($maxResults = 50)
|
public function findMatchingTransactions()
|
||||||
{
|
{
|
||||||
/** @var JournalRepositoryInterface $repository */
|
/** @var JournalRepositoryInterface $repository */
|
||||||
$repository = app('FireflyIII\Repositories\Journal\JournalRepositoryInterface');
|
$repository = app('FireflyIII\Repositories\Journal\JournalRepositoryInterface');
|
||||||
|
Loading…
Reference in New Issue
Block a user