]> git.mxchange.org Git - friendica.git/blobdiff - src/BaseModel.php
Merge pull request #12277 from nupplaphil/mod/fbrowser
[friendica.git] / src / BaseModel.php
index 768e9e9e53d5190e4f9277e9e7531b2d9284e5c9..06a61c505af00b2e2df2ac93a4a021940786ed65 100644 (file)
@@ -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();