Skip to content

Commit a827d63

Browse files
committed
Added an array values to reset the keys so that an array is created rather than keyed object
1 parent 589122b commit a827d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Endpoint/Concerns/BuildsOpenApiPaths.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private function buildOpenApiParameters(Collection $collection): array
4949
}
5050
}
5151

52-
return array_filter($parameters);
52+
return array_values(array_filter($parameters));
5353
}
5454

5555
private function buildIncludeParameter(Resource $resource): array

0 commit comments

Comments
 (0)