File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -115,16 +115,16 @@ protected function setUp(): void
115
115
116
116
// Check if the component's relationship is a BelongsTo relationship.
117
117
if ($ relationship instanceof BelongsTo) {
118
- $ relationship ->associate ($ state )->save ();
118
+ $ relationship ->associate ($ state )->save ();
119
119
120
- return ;
120
+ return ;
121
121
}
122
122
123
- // Wrap the state in a collection and convert it to an array if it's not set.
124
- $ state = Collection::wrap ($ state ?? []);
123
+ // Wrap the state in a collection and convert it to an array if it's not set.
124
+ $ state = Collection::wrap ($ state ?? []);
125
125
126
- // Sync the relationship with the provided state (IDs).
127
- $ component ->getRelationship ()->sync ($ state ->toArray ());
126
+ // Sync the relationship with the provided state (IDs).
127
+ $ component ->getRelationship ()->sync ($ state ->toArray ());
128
128
});
129
129
130
130
$ this ->createOptionUsing (static function (SelectTree $ component , array $ data , Form $ form ) {
You can’t perform that action at this time.
0 commit comments