Fix phpdoc
Fix type juggling