Minor adjustments
parent
beaf8a8f5c
commit
2d16abb1a2
|
@ -31,6 +31,6 @@ echo TEST_CONST;
|
|||
|
||||
use function test_function;
|
||||
|
||||
if ($abc instanceof TestInterface){
|
||||
if ($abc instanceof TestInterface) {
|
||||
|
||||
}
|
||||
|
|
|
@ -31,6 +31,6 @@ echo TEST_CONST;
|
|||
|
||||
use function TestNamespace\test_function;
|
||||
|
||||
if ($abc instanceof TestInterface){
|
||||
if ($abc instanceof TestInterface) {
|
||||
|
||||
}
|
||||
|
|
|
@ -214,8 +214,8 @@ class GlobalTest extends ServerTestCase
|
|||
|
||||
public function testDefinitionForInstanceOf()
|
||||
{
|
||||
// use function test_function;
|
||||
// Get definition for test_function
|
||||
// if ($abc instanceof TestInterface) {
|
||||
// Get definition for TestInterface
|
||||
$reference = $this->getReferenceLocations('TestInterface')[2];
|
||||
$result = $this->textDocument->definition(new TextDocumentIdentifier($reference->uri), $reference->range->start);
|
||||
$this->assertEquals($this->getDefinitionLocation('TestInterface'), $result);
|
||||
|
|
Loading…
Reference in New Issue