code: protected function typeModification(
          /*# string */ $type, array $args
      )/*# : string */ {
          // data size
          if (is_int($args[1])) {
              $type .= '(' . $args[1];
              if (isset($args[2])) {
                  $type .= ',' . $args[2];
              }
              $type .= ')';
  
          // size, zeroFill etc.
          } elseif (is_array($args[1])) {
              if (isset($args[1]['size'])) {
                  $type .= '(' . $args[1]['size'] . ')';
              }
              foreach ($args[1] as $key => $val) {
                  if ('size' === $key) {
                      continue;
                  }
                  $type .= ' ' . strtoupper($key);
              }
          } else {
              $type .= $args[1];
          }
  
          return $type;
      }
docs: modify the type
  
  @param  string $type
  @param  array $args
  @return string