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 970a10a commit b10515bCopy full SHA for b10515b
src/Console/ModelsCommand.php
@@ -733,7 +733,7 @@ public function getPropertiesFromMethods($model)
733
// If the pivot is already set, we need to append the type to it
734
$pivot .= '|' . $existingPivot['type'];
735
} else {
736
- // this class is already set
+ // this class is already defined in the pivot union type. We don't need to add it again
737
$pivot = $existingPivot['type'];
738
}
739
0 commit comments