<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
* - $model->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();