[COMPONENT][Circle] Ensure strict typing on getter
This commit is contained in:
parent
7027633ed5
commit
7463044971
|
@ -33,7 +33,6 @@ use App\Core\Router\Router;
|
||||||
use App\Entity\Actor;
|
use App\Entity\Actor;
|
||||||
use App\Entity\Feed;
|
use App\Entity\Feed;
|
||||||
use App\Entity\LocalUser;
|
use App\Entity\LocalUser;
|
||||||
use App\Util\Common;
|
|
||||||
use App\Util\Nickname;
|
use App\Util\Nickname;
|
||||||
use Component\Circle\Controller as CircleController;
|
use Component\Circle\Controller as CircleController;
|
||||||
use Component\Circle\Entity\ActorCircle;
|
use Component\Circle\Entity\ActorCircle;
|
||||||
|
@ -102,7 +101,7 @@ class Circle extends Component
|
||||||
'title' => 'Self tags',
|
'title' => 'Self tags',
|
||||||
'desc' => 'Add or remove tags on yourself',
|
'desc' => 'Add or remove tags on yourself',
|
||||||
'id' => 'settings-self-tags',
|
'id' => 'settings-self-tags',
|
||||||
'controller' => CircleController\SelfTagsSettings::settingsSelfTags($request, Common::actor(), 'settings-self-tags-details'),
|
'controller' => CircleController\SelfTagsSettings::settingsSelfTags($request, Actor::getById((int) $request->get('id')), 'settings-self-tags-details'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
return Event::next;
|
return Event::next;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user