Fix nested path

This commit is contained in:
Cristian Giordano 2021-07-15 15:23:35 +01:00
parent 5196f8fd2c
commit 29f33e93bc

View File

@ -23,7 +23,7 @@ final class ModelStubProvider implements GeneratesStubs
public static function generateStubFile(): void
{
$app = ApplicationProvider::getApp();
$migrations_folder = dirname(__DIR__, 4) . '/database/migrations/';
$migrations_folder = dirname(__DIR__, 5) . '/database/migrations/';
$project_analyzer = ProjectAnalyzer::getInstance();
$codebase = $project_analyzer->getCodebase();