replace phpdoc tags with real visibility keywords