original_string: public function removeData()
      {
          $session = $this->getSession();
  
          /** @noinspection PhpUndefinedFieldInspection */
          if ($session->data !== null) {
              unset($session->data);
  
              return true;
          }
  
          return false;
      }
code: public function removeData()
      {
          $session = $this->getSession();
  
          /** @noinspection PhpUndefinedFieldInspection */
          if ($session->data !== null) {
              unset($session->data);
  
              return true;
          }
  
          return false;
      }
code_tokens: public function removeData ( ) { $ session = $ this -> getSession ( ) ; /** @noinspection PhpUndefinedFieldInspection */ if ( $ session -> data !== null ) { unset ( $ session -> data ) ; return true ; } return false ; }
docstring: Remove current route data.
  
  @return bool
  @throws \Zend\Session\Exception\InvalidArgumentException
docstring_tokens: Remove current route data .