Skip to content

Commit 92ceba2

Browse files
Apply suggested fix to shared/Transformers/PostTransformer.php from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent bf9ff51 commit 92ceba2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

shared/Transformers/PostTransformer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ class PostTransformer implements TransformerInterface
2626
{
2727
/**
2828
* Transforms the post data
29-
* @param $item
29+
* @param object $item
3030
* @return array
3131
*/
32-
public function transform($item): array
32+
public function transform(object $item): array
3333
{
3434
return [
3535
'uuid' => $item->uuid,

0 commit comments

Comments
 (0)