@@ -160,15 +160,15 @@ public function jsonSerialize(): mixed
160160 $ request = app (RestRequest::class);
161161
162162 return [
163- 'actions ' => collect ($ this ->getActions ($ request ))->map ->jsonSerialize ()->toArray (),
164- 'instructions ' => collect ($ this ->getInstructions ($ request ))->map ->jsonSerialize ()->toArray (),
163+ 'actions ' => collect ($ this ->getActions ($ request ))->map ->jsonSerialize ()->toArray (),
164+ 'instructions ' => collect ($ this ->getInstructions ($ request ))->map ->jsonSerialize ()->toArray (),
165165 'scout_instructions ' => collect ($ this ->getScoutInstructions ($ request ))->map ->jsonSerialize ()->toArray (),
166- 'fields ' => $ this ->getFields ($ request ),
167- 'scout_fields ' => $ this ->getScoutFields ($ request ),
168- 'limits ' => $ this ->getLimits ($ request ),
169- 'scopes ' => $ this ->getScopes ($ request ),
170- 'relations ' => collect ($ this ->getRelations ($ request ))->map ->jsonSerialize ()->toArray (),
171- 'rules ' => [
166+ 'fields ' => $ this ->getFields ($ request ),
167+ 'scout_fields ' => $ this ->getScoutFields ($ request ),
168+ 'limits ' => $ this ->getLimits ($ request ),
169+ 'scopes ' => $ this ->getScopes ($ request ),
170+ 'relations ' => collect ($ this ->getRelations ($ request ))->map ->jsonSerialize ()->toArray (),
171+ 'rules ' => [
172172 'all ' => $ this ->rules ($ request ),
173173 'create ' => $ this ->createRules ($ request ),
174174 'update ' => $ this ->updateRules ($ request ),
0 commit comments