Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland authored and StyleCIBot committed Dec 17, 2020
1 parent 7e9567f commit a5caa36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function (Dispatcher $events) {
->hasOne('language', DiscussionLanguageSerializer::class)
->mutate(function (DiscussionSerializer $serializer, Discussion $discussion, array $attributes) {
$attributes['canChangeLanguage'] = $serializer->getActor()->can('changeLanguage', $discussion);

return $attributes;
}),

Expand Down

0 comments on commit a5caa36

Please sign in to comment.