original_string: private function collectChildren()
      {
          foreach ($this->children_ as $pid => $transport) {
              if (pcntl_waitpid($pid, $status, WNOHANG) > 0) {
                  unset($this->children_[$pid]);
                  if ($transport) {
                      @$transport->close();
                  }
              }
          }
      }
code: private function collectChildren()
      {
          foreach ($this->children_ as $pid => $transport) {
              if (pcntl_waitpid($pid, $status, WNOHANG) > 0) {
                  unset($this->children_[$pid]);
                  if ($transport) {
                      @$transport->close();
                  }
              }
          }
      }
code_tokens: private function collectChildren ( ) { foreach ( $ this -> children_ as $ pid => $ transport ) { if ( pcntl_waitpid ( $ pid , $ status , WNOHANG ) > 0 ) { unset ( $ this -> children_ [ $ pid ] ) ; if ( $ transport ) { @ $ transport -> close ( ) ; } } } }
docstring: Collects any children we may have
  
  @return void
docstring_tokens: Collects any children we may have