fix code style
parent
9ff8957f47
commit
503cc6bcff
|
@ -887,6 +887,6 @@ class DefinitionResolver
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return (string)$node->args[0]->value->value;
|
return (string)$node->args[0]->value->value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -156,7 +156,8 @@ class HoverTest extends ServerTestCase
|
||||||
], $reference->range), $result);
|
], $reference->range), $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testHoverForGlobalConstant() {
|
public function testHoverForGlobalConstant()
|
||||||
|
{
|
||||||
// print TEST_PROPERTY ? 'true' : 'false';
|
// print TEST_PROPERTY ? 'true' : 'false';
|
||||||
// Get hover for TEST_PROPERTY
|
// Get hover for TEST_PROPERTY
|
||||||
$reference = $this->getReferenceLocations('TEST_PROPERTY')[0];
|
$reference = $this->getReferenceLocations('TEST_PROPERTY')[0];
|
||||||
|
|
Loading…
Reference in New Issue