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