src/Composer/Config/JsonConfigSource.php
public function removeLink($type, $name)
    {
        $this->manipulateJson('removeSubNode', $type, $name, function (&$config, $type, $name) {
            unset($config[$type][$name]);

            if (0 === count($config[$type])) {
                unset($config[$type]);
            }
        });
    }
public function removeLink($type, $name)
    {
        $this->manipulateJson('removeSubNode', $type, $name, function (&$config, $type, $name) {
            unset($config[$type][$name]);

            if (0 === count($config[$type])) {
                unset($config[$type]);
            }
        });
    }
public function removeLink ( $ type , $ name ) { $ this -> manipulateJson ( 'removeSubNode' , $ type , $ name , function ( & $ config , $ type , $ name ) { unset ( $ config [ $ type ] [ $ name ] ) ; if ( 0 === count ( $ config [ $ type ] ) ) { unset ( $ config [ $ type ] ) ; } } ) ; }
{@inheritdoc}
{