Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 6907e86

Browse files
committed
Pathing issue fixes
1 parent eab145b commit 6907e86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Quorum/Installer/Installer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Installer extends LibraryInstaller {
1212
* @var array
1313
*/
1414
private $supportedTypes = array(
15-
'capstone' => 'QuorumInstaller',
15+
'quorum' => 'QuorumInstaller',
1616
);
1717

1818
/**
@@ -28,7 +28,7 @@ public function getInstallPath( PackageInterface $package ) {
2828
);
2929
}
3030

31-
$class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
31+
$class = 'Quorum\\Installer\\' . $this->supportedTypes[$frameworkType];
3232
$installer = new $class($package, $this->composer);
3333

3434
return $installer->getInstallPath($package, $frameworkType);
@@ -89,7 +89,7 @@ protected function findFrameworkType( $type ) {
8989
protected function getLocationPattern( $frameworkType ) {
9090
$pattern = false;
9191
if( !empty($this->supportedTypes[$frameworkType]) ) {
92-
$frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
92+
$frameworkClass = 'Quorum\\Installer\\' . $this->supportedTypes[$frameworkType];
9393
/** @var BaseInstaller $framework */
9494
$framework = new $frameworkClass;
9595
$locations = array_keys($framework->getLocations());

0 commit comments

Comments
 (0)