public function setBuild($build, $hash = null)
    {
        $params = [
            'system::core.build' => $build
        ];

        if ($hash) {
            $params['system::core.hash'] = $hash;
        }

        Parameter::set($params);
    }
public function setBuild($build, $hash = null)
    {
        $params = [
            'system::core.build' => $build
        ];

        if ($hash) {
            $params['system::core.hash'] = $hash;
        }

        Parameter::set($params);
    }
public function setBuild ( $ build , $ hash = null ) { $ params = [ 'system::core.build' => $ build ] ; if ( $ hash ) { $ params [ 'system::core.hash' ] = $ hash ; } Parameter :: set ( $ params ) ; }
Sets the build number and hash
@param string $hash
@param string $build
@return void
Sets the build number and hash