Skip to content

Commit

Permalink
API Standardise extension hooks (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Aug 27, 2024
1 parent 3aa10b8 commit b7c98cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Extensions/ComposerLoaderExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected function getInstalledConstraint(InstalledRepository $repository, strin
/**
* Builds an instance of Composer
*/
public function onAfterBuild()
protected function onAfterBuild()
{
// Mock COMPOSER_HOME if it's not defined already. Composer requires one of the two to be set.
if (!Environment::getEnv('COMPOSER_HOME')) {
Expand Down
2 changes: 1 addition & 1 deletion tests/Stubs/ComposerLoaderExtensionStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected function getInstalledConstraint(InstalledRepository $repository, strin
}
}

public function onAfterBuild()
protected function onAfterBuild()
{
// noop - don't load local Composer repository
}
Expand Down

0 comments on commit b7c98cd

Please sign in to comment.