WebRequest: Add PHP return type hint for getRawVal
Improve the code to avoid phan errors detected by this type hint.
Change-Id: I134d962e1cf95f6b135f3e8959669dc41ccec877