1
0
Fork 0

Use getPackageBasePath instead of getInstallPath

As LibraryInstaller uses getPackageBasePath for uninstall: https://github.com/composer/composer/blob/master/src/Composer/Installer/LibraryInstaller.php#L126
pull/2236/head
Fabian Vogler 2013-09-06 17:44:16 +02:00
parent 0f9988b065
commit 7b43d4909c
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ Example:
/**
* {@inheritDoc}
*/
public function getInstallPath(PackageInterface $package)
public function getPackageBasePath(PackageInterface $package)
{
$prefix = substr($package->getPrettyName(), 0, 23);
if ('phpdocumentor/template-' !== $prefix) {