Code cleanup

This commit is contained in:
James Cole
2018-04-28 06:23:13 +02:00
parent 6f0e1c79ac
commit 13b78bdc20
218 changed files with 621 additions and 681 deletions

View File

@@ -78,9 +78,9 @@ final class ToAccountEnds extends AbstractTrigger implements TriggerInterface
$toAccountName .= strtolower($account->name);
}
$toAccountNameLength = strlen($toAccountName);
$toAccountNameLength = \strlen($toAccountName);
$search = strtolower($this->triggerValue);
$searchLength = strlen($search);
$searchLength = \strlen($search);
// if the string to search for is longer than the account name,
// return false