mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 19:17:45 +02:00
refactor: remove all empty declarations + add missing type declarations
update composer dependencies
This commit is contained in:
parent
93e605b406
commit
fb3593f828
103 changed files with 745 additions and 1287 deletions
|
|
@ -25,15 +25,8 @@ class NoteController extends ActivityPubNoteController
|
|||
{
|
||||
use AnalyticsTrait;
|
||||
|
||||
/**
|
||||
* @var Podcast
|
||||
*/
|
||||
protected $podcast;
|
||||
|
||||
/**
|
||||
* @var Actor
|
||||
*/
|
||||
protected $actor;
|
||||
protected Podcast $podcast;
|
||||
protected Actor $actor;
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
|
|
@ -219,6 +212,7 @@ class NoteController extends ActivityPubNoteController
|
|||
}
|
||||
|
||||
$action = $this->request->getPost('action');
|
||||
/** @phpstan-ignore-next-line */
|
||||
switch ($action) {
|
||||
case 'favourite':
|
||||
return $this->attemptFavourite();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue