*
* @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;
}
/**