File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ' ,
You can’t perform that action at this time.
0 commit comments