1
0
Fork 0

use getOrLoad()->wait(). TODO - work out how to make this better

pull/547/head
Philip Nelson 2017-08-17 17:17:11 +10:00
parent ba44967cac
commit 9ea0a3fb78
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class SignatureHelpProvider
: 0; : 0;
// Get information from the item being called to build the signature information // Get information from the item being called to build the signature information
$calledDoc = $this->documentLoader->get($def->symbolInformation->location->uri); $calledDoc = $this->documentLoader->getOrLoad($def->symbolInformation->location->uri)->wait();
if (!$calledDoc) { if (!$calledDoc) {
return new SignatureHelp(); return new SignatureHelp();
} }