original_string: public function sleep($secs)
      {
          $str = 'Going to sleep for '.$secs.'secs';
          $this->log('NOTICE: '.$str);
          $this->setStatus($str);
          sleep($secs);
          $this->setStatus($this->status ? $this->status : 'awake');
      }
code: public function sleep($secs)
      {
          $str = 'Going to sleep for '.$secs.'secs';
          $this->log('NOTICE: '.$str);
          $this->setStatus($str);
          sleep($secs);
          $this->setStatus($this->status ? $this->status : 'awake');
      }
code_tokens: public function sleep ( $ secs ) { $ str = 'Going to sleep for ' . $ secs . 'secs' ; $ this -> log ( 'NOTICE: ' . $ str ) ; $ this -> setStatus ( $ str ) ; sleep ( $ secs ) ; $ this -> setStatus ( $ this -> status ? $ this -> status : 'awake' ) ; }
docstring: Puts the bot to sleep for a while
  @param integer $secs
docstring_tokens: Puts the bot to sleep for a while