]> git.mxchange.org Git - friendica.git/blobdiff - src/BaseModel.php
spelling: names
[friendica.git] / src / BaseModel.php
index 768e9e9e53d5190e4f9277e9e7531b2d9284e5c9..dbacdfa702048acc45b0d7b1c8301e9d84c535c1 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, 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();