Code cleanup before release.

This commit is contained in:
James Cole
2018-03-29 19:01:47 +02:00
parent 40266c6821
commit 170d23d768
76 changed files with 181 additions and 171 deletions

View File

@@ -54,7 +54,7 @@ class AppendDescription implements ActionInterface
public function act(TransactionJournal $journal): bool
{
Log::debug(sprintf('RuleAction AppendDescription appended "%s" to "%s".', $this->action->action_value, $journal->description));
$journal->description = $journal->description . $this->action->action_value;
$journal->description .= $this->action->action_value;
$journal->save();
return true;

View File

@@ -61,7 +61,7 @@ class AppendNotes implements ActionInterface
}
$notes = $dbNote->text;
Log::debug(sprintf('RuleAction AppendNotes appended "%s" to "%s".', $this->action->action_value, $notes));
$notes = $notes . $this->action->action_value;
$notes .= $this->action->action_value;
$dbNote->text = $notes;
$dbNote->save();
$journal->save();