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