original_string: public function setLineBreaks(array $lineBreaks)
      {
          foreach ($lineBreaks as $lb) {
              if (!is_int($lb)) {
                  throw new DomainException("lineBreaks array is expected to contain only integers");
              }
              $this->lineBreaks[] = $lb;
          }
  
          return $this;
      }
code: public function setLineBreaks(array $lineBreaks)
      {
          foreach ($lineBreaks as $lb) {
              if (!is_int($lb)) {
                  throw new DomainException("lineBreaks array is expected to contain only integers");
              }
              $this->lineBreaks[] = $lb;
          }
  
          return $this;
      }
code_tokens: public function setLineBreaks ( array $ lineBreaks ) { foreach ( $ lineBreaks as $ lb ) { if ( ! is_int ( $ lb ) ) { throw new DomainException ( "lineBreaks array is expected to contain only integers" ) ; } $ this -> lineBreaks [ ] = $ lb ; } return $ this ; }
docstring: Set the line breaks
  
  @param int[] $lineBreaks Array of integers
  @throws DomainException
  @return $this
docstring_tokens: Set the line breaks