[TOOLS] Continue raising PHPStan level to 6
This commit is contained in:
@@ -58,6 +58,8 @@ class Subscription extends Component
|
||||
*
|
||||
* @param Actor|int|LocalUser $subject The Actor who subscribed or unsubscribed
|
||||
* @param Actor|int|LocalUser $object The Actor who was subscribed or unsubscribed from
|
||||
*
|
||||
* @return array{bool, bool}
|
||||
*/
|
||||
public static function refreshSubscriptionCount(int|Actor|LocalUser $subject, int|Actor|LocalUser $object): array
|
||||
{
|
||||
@@ -177,9 +179,10 @@ class Subscription extends Component
|
||||
* In the case of ``\App\Component\Subscription``, the action added allows a **LocalUser** to **subscribe** or
|
||||
* **unsubscribe** a given **Actor**.
|
||||
*
|
||||
* @param Actor $object The Actor on which the action is to be performed
|
||||
* @param array $actions An array containing all actions added to the
|
||||
* current profile, this event adds an action to it
|
||||
* @param Actor $object The Actor on which the action is to be performed
|
||||
* @param array<array{url: string, title: string, classes: string, id: string}> $actions
|
||||
* An array containing all actions added to the
|
||||
* current profile, this event adds an action to it
|
||||
*
|
||||
* @throws DuplicateFoundException
|
||||
* @throws NotFoundException
|
||||
|
Reference in New Issue
Block a user