1
0
Fork 0

Rename xGlob to _glob

pull/136/head
Felix Becker 2016-11-03 09:11:44 +01:00
parent b554ec5e98
commit 8116305966
1 changed files with 2 additions and 2 deletions

View File

@ -35,9 +35,9 @@ class Workspace
* @param string $pattern A glob pattern
* @return Promise <TextDocumentIdentifier[]> 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);
});
}