refresh to fix old cache of stubs

This commit is contained in:
TomasVotruba 2020-07-01 23:24:50 +02:00
parent b058f9bb65
commit b33ff2649f

View File

@ -35,6 +35,7 @@ final class StubLoader
$robotLoader->addDirectory($stubDirectory);
$robotLoader->setTempDirectory(sys_get_temp_dir() . '/_rector_stubs');
$robotLoader->register();
$robotLoader->refresh();
$this->areStubsLoaded = true;
}