original_string: public function withTransversals(array $transversals)
      {
          $res = clone $this;
  
          $res->transversals = $res->fillArrayInput($transversals);
  
          return $res;
      }
code: public function withTransversals(array $transversals)
      {
          $res = clone $this;
  
          $res->transversals = $res->fillArrayInput($transversals);
  
          return $res;
      }
code_tokens: public function withTransversals ( array $ transversals ) { $ res = clone $ this ; $ res -> transversals = $ res -> fillArrayInput ( $ transversals ) ; return $ res ; }
docstring: Set all transversal units, adding null values if needed.
  
  @param array<integer|null> $transversals
  
  @return static a new instance.
docstring_tokens: Set all transversal units adding null values if needed .