Apply fixes from StyleCI

This commit is contained in:
Jonny Barnes 2017-09-13 17:02:31 +00:00 committed by StyleCI Bot
parent ad87e33058
commit 9718aea8f7
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ class AppServiceProvider extends ServiceProvider
});
// Request AS macro
Request::macro('wantsActivityStream', function() {
Request::macro('wantsActivityStream', function () {
return str_contains(mb_strtolower($this->header('Accept')), 'application/activity+json');
});
}

View file

@ -41,7 +41,7 @@ class ActivityStreamsService
'id' => $note->longurl,
'type' => 'Note',
'url' => $note->longurl,
'name' => strip_tags($note->note)
'name' => strip_tags($note->note),
],
]);