fixed inconsistent code formatting
parent
f1188aa658
commit
2036f3b958
|
@ -1,20 +1,23 @@
|
||||||
<?php
|
<?php
|
||||||
class Grand
|
class Grand
|
||||||
{
|
{
|
||||||
/** @return $this */
|
/** @return $this */
|
||||||
public function foo() {
|
public function foo()
|
||||||
return $this;
|
{
|
||||||
}
|
return $this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
class Parent1 extends Grand {
|
class Parent1 extends Grand
|
||||||
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
class Child extends Parent1 {
|
class Child extends Parent1
|
||||||
public function bar() {
|
{
|
||||||
$this->foo()->q
|
public function bar()
|
||||||
}
|
{
|
||||||
public function qux() {
|
$this->foo()->q
|
||||||
|
}
|
||||||
}
|
public function qux()
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -660,7 +660,7 @@ class CompletionTest extends TestCase
|
||||||
$this->loader->open($completionUri, file_get_contents($completionUri));
|
$this->loader->open($completionUri, file_get_contents($completionUri));
|
||||||
$items = $this->textDocument->completion(
|
$items = $this->textDocument->completion(
|
||||||
new TextDocumentIdentifier($completionUri),
|
new TextDocumentIdentifier($completionUri),
|
||||||
new Position(14, 19)
|
new Position(17, 23)
|
||||||
)->wait();
|
)->wait();
|
||||||
$this->assertEquals(new CompletionList([
|
$this->assertEquals(new CompletionList([
|
||||||
new CompletionItem(
|
new CompletionItem(
|
||||||
|
|
Loading…
Reference in New Issue