X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FBaseModel.php;h=dbacdfa702048acc45b0d7b1c8301e9d84c535c1;hb=76c006d5603250b06db2c54ecdc9483af8d47b36;hp=768e9e9e53d5190e4f9277e9e7531b2d9284e5c9;hpb=322b7c856ca9ba53bd9c7da50dd5c1e3c9197d56;p=friendica.git diff --git a/src/BaseModel.php b/src/BaseModel.php index 768e9e9e53..dbacdfa702 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();