mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
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
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue