mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various PSR12 code cleanup
This commit is contained in:
@@ -47,7 +47,7 @@ class ObjectGroupTransformer extends AbstractTransformer
|
||||
/**
|
||||
* Transform the account.
|
||||
*
|
||||
* @param ObjectGroup $objectGroup
|
||||
* @param ObjectGroup $objectGroup
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
@@ -56,15 +56,15 @@ class ObjectGroupTransformer extends AbstractTransformer
|
||||
$this->repository->setUser($objectGroup->user);
|
||||
|
||||
return [
|
||||
'id' => (string) $objectGroup->id,
|
||||
'id' => (string)$objectGroup->id,
|
||||
'created_at' => $objectGroup->created_at?->toAtomString(),
|
||||
'updated_at' => $objectGroup->updated_at?->toAtomString(),
|
||||
'title' => $objectGroup->title,
|
||||
'order' => (int) $objectGroup->order,
|
||||
'order' => (int)$objectGroup->order,
|
||||
'links' => [
|
||||
[
|
||||
'rel' => 'self',
|
||||
'uri' => '/object_groups/' . $objectGroup->id,
|
||||
'uri' => '/object_groups/'.$objectGroup->id,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user