src/package/Support/Increment.php
public function incrementBuild($by = null)
    {
        return $this->increment(function ($config) use ($by) {
            $increment_by = $by ?: $config['build']['increment_by'];

            $config['build']['number'] =
                $config['build']['number'] + $increment_by;

            return $config;
        }, 'build.number');
    }
public function incrementBuild($by = null)
    {
        return $this->increment(function ($config) use ($by) {
            $increment_by = $by ?: $config['build']['increment_by'];

            $config['build']['number'] =
                $config['build']['number'] + $increment_by;

            return $config;
        }, 'build.number');
    }
public function incrementBuild ( $ by = null ) { return $ this -> increment ( function ( $ config ) use ( $ by ) { $ increment_by = $ by ? : $ config [ 'build' ] [ 'increment_by' ] ; $ config [ 'build' ] [ 'number' ] = $ config [ 'build' ] [ 'number' ] + $ increment_by ; return $ config ; } , 'build.number' ) ; }
Increment the build number.

@param null $by

@return int

@internal param null $increment
Increment the build number .