1
0
Fork 0

fixed inconsistent code formatting

pull/421/head
Ivan Bozhanov 2017-07-07 12:12:18 +03:00
parent f1188aa658
commit 2036f3b958
2 changed files with 17 additions and 14 deletions

View File

@ -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()
{
}
} }

View File

@ -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(