Skip to content

Commit

Permalink
修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwuxin committed Mar 28, 2016
1 parent 74fe4ff commit 9e940db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
}
],
"autoload": {
"psr-0": {
"think\\composer\\": "src/"
"psr-4": {
"think\\composer\\": "src"
}
},
"extra": {
"class": "think\\composer\\Plugin"
}
},
"minimum-stability": "dev"
}
2 changes: 1 addition & 1 deletion src/ThinkFramework.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ThinkFramework extends LibraryInstaller
/**
* {@inheritDoc}
*/
public function getPackageBasePath(PackageInterface $package)
public function getInstallPath(PackageInterface $package)
{
if ('topthink/framework' !== $package->getPrettyName()) {
throw new \InvalidArgumentException('Unable to install this library!');
Expand Down

0 comments on commit 9e940db

Please sign in to comment.