Update phpdoc
Fix type juggling