refactor: rename to registerStubs

This commit is contained in:
fiachra mcdermott 2021-06-21 17:38:44 -07:00
parent 931ec53964
commit 6950a9a4e6

View File

@ -43,7 +43,7 @@ class Plugin implements PluginEntryPointInterface
}
$this->registerHandlers($registration);
$this->addOurStubs($registration);
$this->registerStubs($registration);
}
/**
@ -192,7 +192,7 @@ class Plugin implements PluginEntryPointInterface
return $factory;
}
private function addOurStubs(RegistrationInterface $registration): void
private function registerStubs(RegistrationInterface $registration): void
{
foreach (glob(dirname(__DIR__) . '/stubs/*.stubphp') as $stubFilePath) {
$registration->addStubFile($stubFilePath);