Removed constructor.

This commit is contained in:
James Cole 2016-02-17 20:23:53 +01:00
parent b3e32db073
commit 1902787104
2 changed files with 2 additions and 10 deletions

View File

@ -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))

View File

@ -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
*