From b96e71c0ae4a55557f196e373f09ea6863e427e8 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 21 Dec 2018 12:56:56 -0700 Subject: [PATCH] Update AP Like transformer --- app/Transformer/ActivityPub/Verb/Like.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/Transformer/ActivityPub/Verb/Like.php b/app/Transformer/ActivityPub/Verb/Like.php index 5ddebe9a..5662ab75 100644 --- a/app/Transformer/ActivityPub/Verb/Like.php +++ b/app/Transformer/ActivityPub/Verb/Like.php @@ -7,13 +7,13 @@ use League\Fractal; class Like extends Fractal\TransformerAbstract { - public function transform(LikeModel $like) - { - return [ - '@context' => 'https://www.w3.org/ns/activitystreams', - 'type' => 'Like', - 'actor' => $like->actor->permalink(), - 'object' => $like->status->url() - ]; - } + public function transform(LikeModel $like) + { + return [ + '@context' => 'https://www.w3.org/ns/activitystreams', + 'type' => 'Like', + 'actor' => $like->actor->permalink(), + 'object' => $like->status->url() + ]; + } } \ No newline at end of file