Skip to content

Commit

Permalink
fixed getting PackageManager
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed May 1, 2017
1 parent 66b0067 commit 5ee555a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function getAuthors()
*/
public function getPackageManager()
{
return $this->take('composer');
return $this->getApp()->has('composer') ? $this->take('composer') : null;
}

public function hasRequireAny($package)
Expand Down

0 comments on commit 5ee555a

Please sign in to comment.