Blinking two LEDs in and out of phase

Iv'e added option to also determine the onTime of led2 independently from led1:

/ Return 'true' when done.
boolean blink(unsigned long onTime,unsigned long onTime2, unsigned long phaseDifference, unsigned long rate, unsigned long repetitions)
{
  if (cycleCount >= repetitions)
    return true; // done

  unsigned long timePassed = millis() - previousMillis;

  if (timePassed >= rate)
  {
    previousMillis = millis(); // Start a new cycle
    timePassed = 0;
    cycleCount++;
  }

  if (timePassed < onTime)
  {
    digitalWrite(led1, HIGH);
  }
  else
  {
    digitalWrite(led1, LOW);
  }

  if (timePassed >= phaseDifference && timePassed < (phaseDifference + onTime2))
    digitalWrite(led2, HIGH);
  else
    digitalWrite(led2, LOW);

  return false; // Not done yet
}

is it possible to add an option that if no number is added to the place of 'onTime2' at the function void blink() it will be initialised to the value of onTime ?