Code cleanup.

This commit is contained in:
James Cole
2023-12-20 19:35:52 +01:00
parent c4f6366642
commit 64ec0cf62e
997 changed files with 12908 additions and 28136 deletions

View File

@@ -35,8 +35,6 @@ class AttachmentTransformer extends AbstractTransformer
/**
* BillTransformer constructor.
*
*/
public function __construct()
{
@@ -45,10 +43,6 @@ class AttachmentTransformer extends AbstractTransformer
/**
* Transform attachment.
*
* @param Attachment $attachment
*
* @return array
*/
public function transform(Attachment $attachment): array
{
@@ -71,7 +65,7 @@ class AttachmentTransformer extends AbstractTransformer
'links' => [
[
'rel' => 'self',
'uri' => '/attachment/' . $attachment->id,
'uri' => '/attachment/'.$attachment->id,
],
],
];