Add int hint to Mastodon V2 UserStats.php

This commit is contained in:
Hank Grabowski 2023-02-27 13:04:24 -05:00
parent bb29a07efa
commit b375f64e0e

View file

@ -33,10 +33,10 @@ class UserStats extends BaseDataTransferObject
/** @var int */
protected $active_month = 0;
/**
* @param $active_month
*/
public function __construct($active_month)
/**
* @param int $active_month
*/
public function __construct(int $active_month)
{
$this->active_month = $active_month;
}