kopia lustrzana https://github.com/nextcloud/social
psalm fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/1586/head
rodzic
b193f383f0
commit
8d532b3552
|
@ -243,9 +243,6 @@ class DocumentService {
|
|||
}
|
||||
|
||||
|
||||
public function getByLocalId(int $id, string &$mimeType = '', bool $public = false): ISimpleFile {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return int
|
||||
|
|
|
@ -41,7 +41,6 @@ use OCA\Social\Exceptions\StreamNotFoundException;
|
|||
use OCA\Social\Exceptions\UnauthorizedFediverseException;
|
||||
use OCA\Social\Model\ActivityPub\ACore;
|
||||
use OCA\Social\Model\ActivityPub\Actor\Person;
|
||||
use OCA\Social\Model\ActivityPub\Object\Document;
|
||||
use OCA\Social\Model\ActivityPub\Object\Note;
|
||||
use OCA\Social\Model\ActivityPub\Stream;
|
||||
use OCA\Social\Model\Client\Options\TimelineOptions;
|
||||
|
@ -98,7 +97,7 @@ class StreamService {
|
|||
* @throws SocialAppConfigException
|
||||
* @throws Exception
|
||||
*/
|
||||
public function assignItem(Acore &$stream, Person $actor, string $type) {
|
||||
public function assignItem(Acore $stream, Person $actor, string $type) {
|
||||
$stream->setId($this->configService->generateId('@' . $actor->getPreferredUsername()));
|
||||
$stream->setPublished(date("c"));
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue