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 c0ca34d commit ce93b59Copy full SHA for ce93b59
src/Console/ModelsCommand.php
@@ -730,7 +730,7 @@ public function getPropertiesFromMethods($model)
730
731
if ($existingPivot = ($this->properties[$relationObj->getPivotAccessor()] ?? null)) {
732
$existingClasses = explode('|', $existingPivot['type']);
733
- if(!in_array($pivot, $existingClasses)) {
+ if (!in_array($pivot, $existingClasses)) {
734
$existingClasses = [$pivot, ...$existingClasses];
735
}
736
} else {
0 commit comments