Skip to content

Commit c938063

Browse files
(v2.5) revert due to UT
1 parent e4a9ac8 commit c938063

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/LaravelRequestDocs.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,8 @@ public function groupDocs($docs, $group = 'default')
133133
$groupDocs = $this->groupDocsByFQController($docs);
134134
}
135135

136-
$groupBy = ['group', 'group_index'];
137-
return collect($groupDocs)->groupBy($groupBy)
136+
return collect($groupDocs)->sortBy(['group', 'group_index'])
138137
->values()
139-
->flatten(count($groupBy))
140138
->toArray();
141139
}
142140

0 commit comments

Comments
 (0)