original_string: public function _after(TestInterface $test)
      {
          if ($this->sessionStatus() === PHP_SESSION_ACTIVE) {
              $this->sessionDestroy();
          }
  
          if (isset($this->client) && $this->client instanceof Connector) {
              $this->client->reset();
              
              if (isset($this->baseRequest)) {
                  $this->baseRequest = $this->client->getBaseRequest();
              }
              
              if (isset($this->baseResponse)) {
                  $this->baseResponse = $this->client->getBaseResponse();
              }
          }
  
          parent::_after($test);
      }
code: public function _after(TestInterface $test)
      {
          if ($this->sessionStatus() === PHP_SESSION_ACTIVE) {
              $this->sessionDestroy();
          }
  
          if (isset($this->client) && $this->client instanceof Connector) {
              $this->client->reset();
              
              if (isset($this->baseRequest)) {
                  $this->baseRequest = $this->client->getBaseRequest();
              }
              
              if (isset($this->baseResponse)) {
                  $this->baseResponse = $this->client->getBaseResponse();
              }
          }
  
          parent::_after($test);
      }
code_tokens: public function _after ( TestInterface $ test ) { if ( $ this -> sessionStatus ( ) === PHP_SESSION_ACTIVE ) { $ this -> sessionDestroy ( ) ; } if ( isset ( $ this -> client ) && $ this -> client instanceof Connector ) { $ this -> client -> reset ( ) ; if ( isset ( $ this -> baseRequest ) ) { $ this -> baseRequest = $ this -> client -> getBaseRequest ( ) ; } if ( isset ( $ this -> baseResponse ) ) { $ this -> baseResponse = $ this -> client -> getBaseResponse ( ) ; } } parent :: _after ( $ test ) ; }
docstring: After each test
  
  @param TestInterface $test
docstring_tokens: After each test