mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 03:51:18 +00:00
Various PSR12 code cleanup
This commit is contained in:
@@ -37,7 +37,7 @@ class AppendDescriptionToNotes implements ActionInterface
|
||||
/**
|
||||
* TriggerInterface constructor.
|
||||
*
|
||||
* @param RuleAction $action
|
||||
* @param RuleAction $action
|
||||
*/
|
||||
public function __construct(RuleAction $action)
|
||||
{
|
||||
@@ -66,7 +66,7 @@ class AppendDescriptionToNotes implements ActionInterface
|
||||
$note->text = trim(sprintf("%s \n%s", $note->text, $object->description));
|
||||
}
|
||||
if ('' === $note->text) {
|
||||
$note->text = (string) $object->description;
|
||||
$note->text = (string)$object->description;
|
||||
}
|
||||
$after = $note->text;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user