From 381fd4d59436f307db997191282db40f8b368b12 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Sun, 6 Nov 2016 15:19:19 +0100 Subject: [PATCH] Fix workspace/xglob method naming --- src/Client/Workspace.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client/Workspace.php b/src/Client/Workspace.php index 7d85f99..d2bf239 100644 --- a/src/Client/Workspace.php +++ b/src/Client/Workspace.php @@ -37,7 +37,7 @@ class Workspace */ public function xglob(string $pattern): Promise { - return $this->handler->request('workspace/_glob', ['pattern' => $pattern])->then(function ($textDocuments) { + return $this->handler->request('workspace/xglob', ['pattern' => $pattern])->then(function ($textDocuments) { return $this->mapper->mapArray($textDocuments, [], TextDocumentIdentifier::class); }); }