X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FBaseModel.php;h=1189f7f33b1187ef75e34a2e6c4d4ba890022535;hb=15eb8407928c24a96c17528304e23b0558c37bba;hp=a2750d568d604cc0cea2828f283b7175acfa749a;hpb=9a4128a5c8af7c9791d9196266cbec43c11adb16;p=friendica.git diff --git a/src/BaseModel.php b/src/BaseModel.php index a2750d568d..1189f7f33b 100644 --- a/src/BaseModel.php +++ b/src/BaseModel.php @@ -1,6 +1,6 @@ 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();