]> git.mxchange.org Git - friendica.git/commitdiff
Add int hint to Mastodon V2 UserStats.php
authorHank Grabowski <hankgrabowski@gmail.com>
Mon, 27 Feb 2023 18:04:24 +0000 (13:04 -0500)
committerHank Grabowski <hankgrabowski@gmail.com>
Mon, 27 Feb 2023 18:04:24 +0000 (13:04 -0500)
src/Object/Api/Mastodon/InstanceV2/UserStats.php

index e6c8634ae64a7dfa3403243aa9d02e8b87a51579..d4349c9fe4f67ee9c33975d145d2f096055e1939 100644 (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;
        }