File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ public static function apiDocAdditionalIndexQueryParameters(): array
1818 return [
1919 'lat' => [
2020 'type' => 'number',
21- 'description' => 'Latitude to calculate distance from.'
22- 'example' => 4.174446111
21+ 'description' => 'Latitude to calculate distance from.',
22+ 'example' => 4.174446111,
2323 ],
2424
2525 'lng' => [
2626 'type' => 'number',
27- 'description' => 'Longitude to calculate distance from.'
28- 'example' => 73.5097
27+ 'description' => 'Longitude to calculate distance from.',
28+ 'example' => 73.5097,
2929 ],
3030 ];
3131}
@@ -43,14 +43,14 @@ public static function apiDocAdditionalShowQueryParameters(): array
4343 return [
4444 'lat' => [
4545 'type' => 'number',
46- 'description' => 'Latitude to calculate distance from.'
47- 'example' => 4.174446111
46+ 'description' => 'Latitude to calculate distance from.',
47+ 'example' => 4.174446111,
4848 ],
4949
5050 'lng' => [
5151 'type' => 'number',
52- 'description' => 'Longitude to calculate distance from.'
53- 'example' => 73.5097
52+ 'description' => 'Longitude to calculate distance from.',
53+ 'example' => 73.5097,
5454 ],
5555 ];
5656}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public static function apiDocFilterMetadata(): array
2626 'search' => [
2727 'type' => 'string',
2828 'description' => 'Search products by name.',
29- ]
29+ ],
3030 ];
3131}
3232```
@@ -40,7 +40,7 @@ Use this method to describe what your resource is.
4040// in ProductsController.php
4141public static function apiDocGroupDescription(): string
4242{
43- return 'Endpoints for listing and viewing products'. ;
43+ return 'Endpoints for listing and viewing products.' ;
4444}
4545```
4646
You can’t perform that action at this time.
0 commit comments