corrected phpdocs and links