We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 414df56 commit 2226c84Copy full SHA for 2226c84
stubs/seeder.blade.php
@@ -39,7 +39,7 @@ public function run()
39
@endforeach
40
@foreach($relations['belongsToMany'] as $relation)
41
$list = \{{ $factoryNamespace }}\{{ $relation }}Factory::new()->count(10)->create()->pluck('id');
42
- ${{ strtolower($entity) }}->{{ strtolower($relation )}}s()->sync($list);
+ ${{ strtolower($entity) }}->{{ strtolower($relation) }}s()->sync($list);
43
44
}
45
0 commit comments