Add removed method back in marked as deprecated

missing type in the phpdoc, making it invalid