Skip to content

Commit 5ae9921

Browse files
laravel-ide-helpergithub-actions[bot]
authored andcommitted
composer fix-style
1 parent 37559ab commit 5ae9921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Console/ModelsCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ public function getPropertiesFromMethods($model)
718718
if (!in_array($pivot, [Pivot::class, MorphPivot::class])) {
719719
$pivot = $this->getClassNameInDestinationFile($model, $pivot);
720720

721-
if(isset($customPivots[$relationObj->getPivotAccessor()])){
721+
if (isset($customPivots[$relationObj->getPivotAccessor()])) {
722722
$customPivots[$relationObj->getPivotAccessor()][] = $pivot;
723723
} else {
724724
$customPivots[$relationObj->getPivotAccessor()] = [$pivot];
@@ -781,7 +781,7 @@ public function getPropertiesFromMethods($model)
781781
}
782782
}
783783

784-
foreach($customPivots as $pivotAccessor => $pivots){
784+
foreach ($customPivots as $pivotAccessor => $pivots) {
785785
$this->setProperty(
786786
$pivotAccessor,
787787
implode('|', $pivots) . '|null',

0 commit comments

Comments
 (0)