mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 12:01:28 +00:00
Various PSR12 code cleanup
This commit is contained in:
@@ -41,7 +41,7 @@ class MoveNotesToDescription implements ActionInterface
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param RuleAction $action
|
||||
* @param RuleAction $action
|
||||
*/
|
||||
public function __construct(RuleAction $action)
|
||||
{
|
||||
@@ -69,9 +69,9 @@ class MoveNotesToDescription implements ActionInterface
|
||||
$note->delete();
|
||||
return false;
|
||||
}
|
||||
$before = $object->description;
|
||||
$beforeNote = $note->text;
|
||||
$object->description = (string) $this->clearString($note->text, false);
|
||||
$before = $object->description;
|
||||
$beforeNote = $note->text;
|
||||
$object->description = (string)$this->clearString($note->text, false);
|
||||
$object->save();
|
||||
$note->delete();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user