This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class Installer extends LibraryInstaller {
12
12
* @var array
13
13
*/
14
14
private $ supportedTypes = array (
15
- 'capstone ' => 'QuorumInstaller ' ,
15
+ 'quorum ' => 'QuorumInstaller ' ,
16
16
);
17
17
18
18
/**
@@ -28,7 +28,7 @@ public function getInstallPath( PackageInterface $package ) {
28
28
);
29
29
}
30
30
31
- $ class = 'Composer \\ Installers \\' . $ this ->supportedTypes [$ frameworkType ];
31
+ $ class = 'Quorum \\ Installer \\' . $ this ->supportedTypes [$ frameworkType ];
32
32
$ installer = new $ class ($ package , $ this ->composer );
33
33
34
34
return $ installer ->getInstallPath ($ package , $ frameworkType );
@@ -89,7 +89,7 @@ protected function findFrameworkType( $type ) {
89
89
protected function getLocationPattern ( $ frameworkType ) {
90
90
$ pattern = false ;
91
91
if ( !empty ($ this ->supportedTypes [$ frameworkType ]) ) {
92
- $ frameworkClass = 'Composer \\ Installers \\' . $ this ->supportedTypes [$ frameworkType ];
92
+ $ frameworkClass = 'Quorum \\ Installer \\' . $ this ->supportedTypes [$ frameworkType ];
93
93
/** @var BaseInstaller $framework */
94
94
$ framework = new $ frameworkClass ;
95
95
$ locations = array_keys ($ framework ->getLocations ());
You can’t perform that action at this time.
0 commit comments