mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-26 08:51:12 -06:00
Add field. Also limit range.
This commit is contained in:
parent
0ba9389ca2
commit
7cb86d0254
@ -23,7 +23,10 @@ use FireflyIII\Repositories\Journal\JournalRepositoryInterface;
|
|||||||
class TransactionMatcher
|
class TransactionMatcher
|
||||||
{
|
{
|
||||||
/** @var int Maximum number of transaction to search in (for performance reasons) * */
|
/** @var int Maximum number of transaction to search in (for performance reasons) * */
|
||||||
private $range = 1000;
|
private $range = 200;
|
||||||
|
/** @var int */
|
||||||
|
private $limit = 10;
|
||||||
|
|
||||||
/** @var array */
|
/** @var array */
|
||||||
protected $transactionTypes = [TransactionType::DEPOSIT, TransactionType::WITHDRAWAL, TransactionType::TRANSFER];
|
protected $transactionTypes = [TransactionType::DEPOSIT, TransactionType::WITHDRAWAL, TransactionType::TRANSFER];
|
||||||
/** @var array List of triggers to match */
|
/** @var array List of triggers to match */
|
||||||
|
Loading…
Reference in New Issue
Block a user