Skip to content

Commit b10515b

Browse files
committed
improve comment
1 parent 970a10a commit b10515b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/ModelsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ public function getPropertiesFromMethods($model)
733733
// If the pivot is already set, we need to append the type to it
734734
$pivot .= '|' . $existingPivot['type'];
735735
} else {
736-
// this class is already set
736+
// this class is already defined in the pivot union type. We don't need to add it again
737737
$pivot = $existingPivot['type'];
738738
}
739739
} else {

0 commit comments

Comments
 (0)