mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-30 04:39:01 +01:00
refactor: rename to registerStubs
This commit is contained in:
parent
931ec53964
commit
6950a9a4e6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user