File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 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
115115
116116 // Check if the component's relationship is a BelongsTo relationship.
117117 if ($ relationship instanceof BelongsTo) {
118- $ relationship ->associate ($ state )->save ();
118+ $ relationship ->associate ($ state )->save ();
119119
120- return ;
120+ return ;
121121 }
122122
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 ?? []);
125125
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 ());
128128 });
129129
130130 $ this ->createOptionUsing (static function (SelectTree $ component , array $ data , Form $ form ) {
You can’t perform that action at this time.
0 commit comments