Skip to content

Commit

Permalink
Change Illuminate\Support\Composer hasPackage to public (#53282)
Browse files Browse the repository at this point in the history
  • Loading branch information
buihanh2304 authored Oct 24, 2024
1 parent b9e6c15 commit 0d1e2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Composer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0d1e2d3

Please sign in to comment.