Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jan 13, 2024
1 parent 514dd15 commit ba44a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/Controller/DeletePostReactionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected function delete(ServerRequestInterface $request): EmptyResponse

PostReaction::query()->where('post_id', $postId)->where('reaction_id', $reactionId)->delete();
PostAnonymousReaction::query()->where('post_id', $postId)->where('reaction_id', $reactionId)->delete();
} else if ($postReactionId) {
} elseif ($postReactionId) {
// Delete a specific post_reaction for the post
$reaction = PostReaction::query()->where('post_id', $postId)->where('id', $postReactionId)->firstOrFail();

Expand Down

0 comments on commit ba44a9c

Please sign in to comment.