Code cleanup

This commit is contained in:
James Cole
2024-12-22 08:43:12 +01:00
parent 5751f7e5a3
commit 565bd87959
574 changed files with 4600 additions and 4604 deletions

View File

@@ -48,12 +48,12 @@ class TransactionLinkTransformer extends AbstractTransformer
$notes = $this->repository->getLinkNoteText($link);
return [
'id' => (string)$link->id,
'id' => (string) $link->id,
'created_at' => $link->created_at->toAtomString(),
'updated_at' => $link->updated_at->toAtomString(),
'inward_id' => (string)$link->source_id,
'outward_id' => (string)$link->destination_id,
'link_type_id' => (string)$link->link_type_id,
'inward_id' => (string) $link->source_id,
'outward_id' => (string) $link->destination_id,
'link_type_id' => (string) $link->link_type_id,
'notes' => '' === $notes ? null : $notes,
'links' => [
[