mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-26 20:34:48 +01:00
refactor: pull stubs out of src dir
This commit is contained in:
parent
9d96f541e3
commit
931ec53964
@ -194,7 +194,7 @@ class Plugin implements PluginEntryPointInterface
|
||||
|
||||
private function addOurStubs(RegistrationInterface $registration): void
|
||||
{
|
||||
foreach (glob(__DIR__ . '/Stubs/*.stubphp') as $stubFilePath) {
|
||||
foreach (glob(dirname(__DIR__) . '/stubs/*.stubphp') as $stubFilePath) {
|
||||
$registration->addStubFile($stubFilePath);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user