original_string: public function getNextBuildTime(BuildInterface $build)
      {
          if ($build->getLastBuild()->getBuildTime() == null
              && $build->getStatus() !== BuildInterface::STOPPED
          ) {
              if (!isset($this->_nextBuildTime)) {
                  $this->_nextBuildTime = time();
              }
  
              return $this->_nextBuildTime;
          } else {
              return;
          }
      }
code: public function getNextBuildTime(BuildInterface $build)
      {
          if ($build->getLastBuild()->getBuildTime() == null
              && $build->getStatus() !== BuildInterface::STOPPED
          ) {
              if (!isset($this->_nextBuildTime)) {
                  $this->_nextBuildTime = time();
              }
  
              return $this->_nextBuildTime;
          } else {
              return;
          }
      }
code_tokens: public function getNextBuildTime ( BuildInterface $ build ) { if ( $ build -> getLastBuild ( ) -> getBuildTime ( ) == null && $ build -> getStatus ( ) !== BuildInterface :: STOPPED ) { if ( ! isset ( $ this -> _nextBuildTime ) ) { $ this -> _nextBuildTime = time ( ) ; } return $ this -> _nextBuildTime ; } else { return ; } }
docstring: Calculates the next build timestamp
  this is a build once scheduler.
  
  @return int
docstring_tokens: Calculates the next build timestamp this is a build once scheduler .