diff --git a/src/Illuminate/Support/Composer.php b/src/Illuminate/Support/Composer.php index 190500a4fe32..d244867cd9f6 100644 --- a/src/Illuminate/Support/Composer.php +++ b/src/Illuminate/Support/Composer.php @@ -45,7 +45,7 @@ public function __construct(Filesystem $files, $workingPath = null) * * @throw \RuntimeException */ - protected function hasPackage($package) + public function hasPackage($package) { $composer = json_decode(file_get_contents($this->findComposerFile()), true);