From 8116305966e5b28dbc15d3c486bbf3e10fdd9681 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Thu, 3 Nov 2016 09:11:44 +0100 Subject: [PATCH] Rename xGlob to _glob --- src/Client/Workspace.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client/Workspace.php b/src/Client/Workspace.php index 567cceb..cad08d3 100644 --- a/src/Client/Workspace.php +++ b/src/Client/Workspace.php @@ -35,9 +35,9 @@ class Workspace * @param string $pattern A glob pattern * @return Promise Array of documents that match the glob pattern */ - public function xGlob(string $pattern): Promise + public function _glob(string $pattern): Promise { - return $this->handler->request('workspace/xGlob', ['pattern' => $pattern])->then(function ($textDocuments) { + return $this->handler->request('workspace/_glob', ['pattern' => $pattern])->then(function ($textDocuments) { return $this->mapper->mapArray($textDocuments, [], TextDocumentIdentifier::class); }); }