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 67ffb72 commit 9c63d02Copy full SHA for 9c63d02
src/Generators/ModelGenerator.php
@@ -175,7 +175,7 @@ protected function getImportedRelations(): array
175
{
176
$result = [];
177
178
- foreach ($this->relations as $relationName => $relations) {
+ foreach ($this->relations as $relationType => $relations) {
179
foreach ($relations as $relation) {
180
if ($this->shouldImportRelation($relation)) {
181
$result[] = $this->generateClassNamespace($relation);
0 commit comments