Fix methods and clean up code.

This commit is contained in:
James Cole
2024-03-09 19:46:16 +01:00
parent 487b65b669
commit 66b322e844
19 changed files with 153 additions and 139 deletions

View File

@@ -54,7 +54,7 @@ class BillTransformer extends AbstractTransformer
*
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*/
public function collectMetaData(Collection $objects): void
public function collectMetaData(Collection $objects): Collection
{
$currencies = [];
$bills = [];
@@ -175,6 +175,8 @@ class BillTransformer extends AbstractTransformer
];
}
}
return $objects;
}
/**