src/GitTrait.php
public function hotfixFinish($options = ['semversion' => null, 'type' => 'patch'])
    {
        if (empty($options['semversion'])) {
            $version = $this->getVersion()
                ->increment($options['type']);
        } else {
            $version = $options['semversion'];
        }
        return $this->taskHotfixFinish((string)$version)->run();
    }
public function hotfixFinish($options = ['semversion' => null, 'type' => 'patch'])
    {
        if (empty($options['semversion'])) {
            $version = $this->getVersion()
                ->increment($options['type']);
        } else {
            $version = $options['semversion'];
        }
        return $this->taskHotfixFinish((string)$version)->run();
    }
public function hotfixFinish ( $ options = [ 'semversion' => null , 'type' => 'patch' ] ) { if ( empty ( $ options [ 'semversion' ] ) ) { $ version = $ this -> getVersion ( ) -> increment ( $ options [ 'type' ] ) ; } else { $ version = $ options [ 'semversion' ] ; } return $ this -> taskHotfixFinish ( ( string ) $ version ) -> run ( ) ; }
Finish a hotfix

@option string $semversion Version number
@option string $type    Hotfix type (path, minor)
Finish a hotfix