Add int hint to Mastodon V2 UserStats.php
This commit is contained in:
parent
bb29a07efa
commit
b375f64e0e
1 changed files with 4 additions and 4 deletions
|
@ -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 a new issue