From: Hank Grabowski Date: Mon, 27 Feb 2023 18:04:24 +0000 (-0500) Subject: Add int hint to Mastodon V2 UserStats.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b375f64e0eaa2e842be29b6202d70746bcb67f84;p=friendica.git Add int hint to Mastodon V2 UserStats.php --- diff --git a/src/Object/Api/Mastodon/InstanceV2/UserStats.php b/src/Object/Api/Mastodon/InstanceV2/UserStats.php index e6c8634ae6..d4349c9fe4 100644 --- a/src/Object/Api/Mastodon/InstanceV2/UserStats.php +++ b/src/Object/Api/Mastodon/InstanceV2/UserStats.php @@ -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; }