diff --git a/camel/Camel.php b/camel/Camel.php index bd3bc49a..2cedf55d 100644 --- a/camel/Camel.php +++ b/camel/Camel.php @@ -171,6 +171,6 @@ public static function prepareGroupedEndpointsForOutput(array $groupedEndpoints) }, $group['endpoints']), ]; }, $groupedEndpoints); - return Arr::sort($groups, 'fileName'); + return array_values(Arr::sort($groups, 'fileName')); } } \ No newline at end of file