Type hinting.

This commit is contained in:
James Cole
2016-02-18 06:54:50 +01:00
parent bdcb7372a5
commit 31d6789ff0
2 changed files with 23 additions and 6 deletions

View File

@@ -295,7 +295,8 @@ class RuleController extends Controller
$limit = Config::get('firefly.test-triggers.limit');
$range = Config::get('firefly.test-triggers.range');
$matcher = new TransactionMatcher;
/** @var TransactionMatcher $matcher */
$matcher = app('FireflyIII\Rules\TransactionMatcher');
$matcher->setLimit($limit);
$matcher->setRange($range);
$matcher->setTriggers($triggers);