mirror of
https://github.com/friendica/friendica
synced 2025-04-22 05:10:10 +00:00
Added more type-hints and documented a few methods
This commit is contained in:
parent
97e27cb523
commit
aa5f0d5ec1
5 changed files with 26 additions and 17 deletions
|
@ -110,11 +110,11 @@ abstract class BaseModel extends BaseDataTransferObject
|
|||
* - $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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue