Apply fixes from StyleCI
This commit is contained in:
parent
ad87e33058
commit
9718aea8f7
2 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
});
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ class ActivityStreamsService
|
|||
'id' => $note->longurl,
|
||||
'type' => 'Note',
|
||||
'url' => $note->longurl,
|
||||
'name' => strip_tags($note->note)
|
||||
'name' => strip_tags($note->note),
|
||||
],
|
||||
]);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue