mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 19:17:45 +02:00
refactor: add strict types declaration before each file and fix activitypub issues
fix some style issues
This commit is contained in:
parent
76afc0cfa2
commit
c72f4be6d8
291 changed files with 8727 additions and 7357 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* This class defines the Object which is the primary base type for the Activity Streams vocabulary.
|
||||
*
|
||||
|
|
@ -37,7 +39,7 @@ class NoteObject extends ObjectType
|
|||
$this->inReplyTo = $note->reply_to_note->uri;
|
||||
}
|
||||
|
||||
$this->replies = base_url(route_to('note-replies', $note->actor->username, $note->id),);
|
||||
$this->replies = base_url(route_to('note-replies', $note->actor->username, $note->id));
|
||||
|
||||
$this->cc = [$note->actor->followers_url];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue