/**
* Unset an arbitrary value from our get/post data.
- *
+ *
* @param $key String: key name to use
* @return Mixed: old value if one was present, null otherwise
*/
*
* @since 1.19
*
+ * @throws MWException
* @return String
*/
protected function getRawIP() {
* @return mixed
*/
public function getSessionData( $key ) {
- if( isset( $this->session[$key] ) )
+ if( isset( $this->session[$key] ) ) {
return $this->session[$key];
+ }
+ return null;
}
/**