Add phpdoc to magic methods