We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39770a0 commit 2ce40e2Copy full SHA for 2ce40e2
1 file changed
lib/LanguageServerReferenceFinder/Handler/ReferencesHandler.php
@@ -161,7 +161,9 @@ public function references(
161
*/
162
private function toLocations(array $locations): array
163
{
164
- return $this->locationConverter->toLspLocations(Locations::bySorting($locations));
+ return $this->locationConverter->toLspLocations(
165
+ (new Locations($locations))->sorted()
166
+ );
167
}
168
169
public function registerCapabiltiies(ServerCapabilities $capabilities): void
0 commit comments