]> git.mxchange.org Git - friendica.git/blobdiff - src/BaseModel.php
Merge pull request #12277 from nupplaphil/mod/fbrowser
[friendica.git] / src / BaseModel.php
index a2750d568d604cc0cea2828f283b7175acfa749a..06a61c505af00b2e2df2ac93a4a021940786ed65 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -110,11 +110,11 @@ abstract class BaseModel extends BaseDataTransferObject
         * - $model->field (outside of class)
         * - $this->field (inside of class)
         *
-        * @param $name
+        * @param string $name Name of data to fetch
         * @return mixed
         * @throws HTTPException\InternalServerErrorException
         */
-       public function __get($name)
+       public function __get(string $name)
        {
                $this->checkValid();