Fix init AP class

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
pull/1446/head
Carl Schwan 2022-07-12 14:07:49 +02:00
rodzic e50898a9a6
commit 1a4021a5bd
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -119,7 +119,6 @@ class AP {
public SocialAppNotificationInterface $notificationInterface; public SocialAppNotificationInterface $notificationInterface;
public ConfigService $configService; public ConfigService $configService;
public static ?AP $activityPub = null; public static ?AP $activityPub = null;
private SocialAppNotificationInterface $socialAppNotificationInterface;
public function __construct( public function __construct(
AcceptInterface $acceptInterface, AcceptInterface $acceptInterface,
@ -133,7 +132,7 @@ class AP {
ImageInterface $imageInterface, ImageInterface $imageInterface,
LikeInterface $likeInterface, LikeInterface $likeInterface,
NoteInterface $noteInterface, NoteInterface $noteInterface,
SocialAppNotificationInterface $socialAppNotificationInterface, SocialAppNotificationInterface $notificationInterface,
PersonInterface $personInterface, PersonInterface $personInterface,
ServiceInterface $serviceInterface, ServiceInterface $serviceInterface,
GroupInterface $groupInterface, GroupInterface $groupInterface,
@ -156,7 +155,7 @@ class AP {
$this->imageInterface = $imageInterface; $this->imageInterface = $imageInterface;
$this->likeInterface = $likeInterface; $this->likeInterface = $likeInterface;
$this->noteInterface = $noteInterface; $this->noteInterface = $noteInterface;
$this->socialAppNotificationInterface = $socialAppNotificationInterface; $this->notificationInterface = $notificationInterface;
$this->personInterface = $personInterface; $this->personInterface = $personInterface;
$this->serviceInterface = $serviceInterface; $this->serviceInterface = $serviceInterface;
$this->groupInterface = $groupInterface; $this->groupInterface = $groupInterface;