Revert "fix synopsis for polymorphic_pointer_cast"

This reverts commit 73638edb8765209806e65fd8ccab7e9f966b1cf3.