Add int hint to Mastodon V2 UserStats.php
This commit is contained in:
parent
bb29a07efa
commit
b375f64e0e
|
@ -34,9 +34,9 @@ class UserStats extends BaseDataTransferObject
|
|||
protected $active_month = 0;
|
||||
|
||||
/**
|
||||
* @param $active_month
|
||||
* @param int $active_month
|
||||
*/
|
||||
public function __construct($active_month)
|
||||
public function __construct(int $active_month)
|
||||
{
|
||||
$this->active_month = $active_month;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user