use getOrLoad()->wait(). TODO - work out how to make this better
parent
ba44967cac
commit
9ea0a3fb78
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue