Closed harris21 closed 9 months ago
In Laravel 9, the populateStub() function that is used for generating new Neo4J migrations, doesn't work.
populateStub()
php artisan neo4j:make:migration NameOfMigration
Undefined variable $name
at vendor/ulobby/neoeloquent/src/Migrations/MigrationCreator.php:22
18▕ protected function populateStub($stub, $label) 19▕ { 20▕ $stub = str_replace( 21▕ ['DummyClass', '{{ class }}', '{{class}}'], ➜ 22▕ $this->getClassName($name), 23▕ $stub 24▕ ); 25▕ 26▕ // Here we will replace the label place-holders with the label specified by +17 vendor frames 18 artisan:37 Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
Description:
In Laravel 9, the
populateStub()
function that is used for generating new Neo4J migrations, doesn't work.Steps To Reproduce:
php artisan neo4j:make:migration NameOfMigration
Expected result
Actual result
Undefined variable $name
at vendor/ulobby/neoeloquent/src/Migrations/MigrationCreator.php:22