mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Removed constructor.
This commit is contained in:
parent
b3e32db073
commit
1902787104
@ -280,6 +280,8 @@ class RuleController extends Controller
|
||||
$limit = Config::get('firefly.test-triggers.limit');
|
||||
$range = Config::get('firefly.test-triggers.range');
|
||||
|
||||
$matcher = new TransactionMatcher;
|
||||
|
||||
// Dispatch the actual work to a matched object
|
||||
$matchingTransactions
|
||||
= (new TransactionMatcher($triggers))
|
||||
|
@ -29,16 +29,6 @@ class TransactionMatcher
|
||||
/** @var array List of triggers to match */
|
||||
protected $triggers = [];
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
*
|
||||
* @param $triggers
|
||||
*/
|
||||
public function __construct($triggers)
|
||||
{
|
||||
$this->setTriggers($triggers);
|
||||
}
|
||||
|
||||
/**
|
||||
* Find matching transactions for the current set of triggers
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user