src/RijksregisternummerHelper.php
/**
   * Adjust the month by taking into account modifications for bisnummers and self assigned rijksregisternummers.
   *
   * @param int $month The month number (1..12).
   * @param int $type  The type of number.
   *
   * @return int
   */
Adjust the month by taking into account modifications for bisnummers and self assigned rijksregisternummers.
@param int $month The month number (1..12).
@param int $type  The type of number.

@return int
Adjust the month by taking into account modifications for bisnummers and self assigned rijksregisternummers . @param int $month The month number ( 1 .. 12 ) . @param int $type The type of number . @return int
private static function adjustMonth(int $month, int $type): int
  {
    switch ($type)
    {
      case self::TYPE_RIJKSREGISTERNUMMER:
        break;
      case self::TYPE_BISNUMMER_UNKNOWN_GENDER:
        $month += 20;
        break;
      case self::TYPE_BISNUMMER_KNOWN_GENDER:
        $month += 40;
        break;
      case self::TYPE_SELF_ASSIGNED:
        $month += 60;
        break;
      default:
        throw new FallenException('type', $type);
    }
    return $month;
  }
private static function adjustMonth ( int $ month , int $ type ) : int { switch ( $ type ) { case self :: TYPE_RIJKSREGISTERNUMMER : break ; case self :: TYPE_BISNUMMER_UNKNOWN_GENDER : $ month += 20 ; break ; case self :: TYPE_BISNUMMER_KNOWN_GENDER : $ month += 40 ; break ; case self :: TYPE_SELF_ASSIGNED : $ month += 60 ; break ; default : throw new FallenException ( 'type' , $ type ) ; } return $ month ; }
Adjust the month by taking into account modifications for bisnummers and self assigned rijksregisternummers.
Adjust the month by taking into account modifications for bisnummers and self assigned rijksregisternummers .
// Nothing to do.