Big refactor to remove the deprecated transaction collector.

This commit is contained in:
James Cole
2019-05-30 12:31:19 +02:00
parent 10a6ff9bf8
commit 8b7e87ae57
117 changed files with 1314 additions and 1208 deletions

View File

@@ -222,7 +222,7 @@ class ApplyRules extends Command
$finalList = new Collection;
$accountList = explode(',', $accountString);
if (0 === \count($accountList)) {
if (0 === count($accountList)) {
$this->error('Please use the --accounts to indicate the accounts to apply rules to.');
return false;
@@ -267,7 +267,7 @@ class ApplyRules extends Command
}
$ruleGroupList = explode(',', $ruleGroupString);
if (0 === \count($ruleGroupList)) {
if (0 === count($ruleGroupList)) {
// can be empty.
return true;
@@ -299,7 +299,7 @@ class ApplyRules extends Command
$finalList = new Collection;
$ruleList = explode(',', $ruleString);
if (0 === \count($ruleList)) {
if (0 === count($ruleList)) {
// can be empty.
return true;