1
0
Fork 0

Minor adjustments

pull/117/head
Felix Becker 2016-10-26 20:22:30 +02:00
parent beaf8a8f5c
commit 2d16abb1a2
3 changed files with 4 additions and 4 deletions

View File

@ -31,6 +31,6 @@ echo TEST_CONST;
use function test_function;
if ($abc instanceof TestInterface){
if ($abc instanceof TestInterface) {
}

View File

@ -31,6 +31,6 @@ echo TEST_CONST;
use function TestNamespace\test_function;
if ($abc instanceof TestInterface){
if ($abc instanceof TestInterface) {
}

View File

@ -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);