Example #1
0
 /**
  * @param string $version
  * @param string $type
  * @return string
  */
 public function increase($version, $type = self::INCREASE_PATCH)
 {
     $version = new \vierbergenlars\SemVer\version($version);
     return $version->inc($type)->getVersion();
 }