Merge pull request #12848 from HankG/fix-mastodon-v2-active-month-naming-error

Fix mastodon v2 active month naming error
This commit is contained in:
Philipp 2023-02-27 19:51:25 +01:00 committed by GitHub
commit 61deaec4be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,13 +31,13 @@ use Friendica\BaseDataTransferObject;
class UserStats extends BaseDataTransferObject
{
/** @var int */
protected $active_monthly = 0;
protected $active_month = 0;
/**
* @param $active_monthly
* @param int $active_month
*/
public function __construct($active_monthly)
public function __construct(int $active_month)
{
$this->active_monthly = $active_monthly;
$this->active_month = $active_month;
}
}