original_string: public function setStartDay($startDay)
      {
          $startDay = (int) $startDay;
  
          if ($startDay < 1 || $startDay > 7) {
              throw new OutOfRangeException(
                  "'$startDay' is an invalid value for \$startDay in '"
                  . __METHOD__
              );
          }
  
          $this->startDay = $startDay;
  
          return $this;
      }
code: public function setStartDay($startDay)
      {
          $startDay = (int) $startDay;
  
          if ($startDay < 1 || $startDay > 7) {
              throw new OutOfRangeException(
                  "'$startDay' is an invalid value for \$startDay in '"
                  . __METHOD__
              );
          }
  
          $this->startDay = $startDay;
  
          return $this;
      }
code_tokens: public function setStartDay ( $ startDay ) { $ startDay = ( int ) $ startDay ; if ( $ startDay < 1 || $ startDay > 7 ) { throw new OutOfRangeException ( "'$startDay' is an invalid value for \$startDay in '" . __METHOD__ ) ; } $ this -> startDay = $ startDay ; return $ this ; }
docstring: Set which day to display as the starting day of the week.
  
  @param  int  $startDay
  @return self
docstring_tokens: Set which day to display as the starting day of the week .