X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FBaseModel.php;h=1189f7f33b1187ef75e34a2e6c4d4ba890022535;hb=ba760bb3409e559f11f2b8b37448f8294127d950;hp=a2750d568d604cc0cea2828f283b7175acfa749a;hpb=0fc5f26ff7c0301da42bfc360b1ad70359184e5c;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();