X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FBaseModel.php;h=06a61c505af00b2e2df2ac93a4a021940786ed65;hb=f8f0dfa91ab226fe1f94abe8cf86f2c5ceeeec12;hp=a2750d568d604cc0cea2828f283b7175acfa749a;hpb=a6423031eba1236127160ced3028e36401f40536;p=friendica.git diff --git a/src/BaseModel.php b/src/BaseModel.php index a2750d568d..06a61c505a 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();