X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FBaseModel.php;h=dbacdfa702048acc45b0d7b1c8301e9d84c535c1;hb=52a25ce6181c0b48a978f37a4ae3b94357dbb712;hp=61b6e192a5123bf51f2d83f12da6ab90d9e36d65;hpb=2a431b580f2e8f6a596e84175932e793678cde63;p=friendica.git diff --git a/src/BaseModel.php b/src/BaseModel.php index 61b6e192a5..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();