Browse Source

Fix Model\Contact\Introduction::confirm()

pull/10893/head
Philipp 8 months ago
parent
commit
bf7c66b2c7
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432
  1. 6
      src/Model/Contact/Introduction.php

6
src/Model/Contact/Introduction.php

@ -37,14 +37,14 @@ class Introduction
* Confirms a follow request and sends a notice to the remote contact.
*
* @param Entity\Introduction $introduction
* @param bool $duplex
* @param bool $hidden
* @param bool $duplex Is it a follow back?
* @param bool|null $hidden Should this contact be hidden? null = no change
*
* @throws HTTPException\InternalServerErrorException
* @throws HTTPException\NotFoundException
* @throws \ImagickException
*/
public static function confirm(Entity\Introduction $introduction, bool $duplex = false, bool $hidden = false): void
public static function confirm(Entity\Introduction $introduction, bool $duplex = false, ?bool $hidden = null): void
{
DI::logger()->info('Confirming follower', ['cid' => $introduction->cid]);

Loading…
Cancel
Save