phpantom_lsp 0.7.0

Fast PHP language server with deep type intelligence. Generics, Laravel, PHPStan annotations. Ready in an instant.
Documentation
// test: chained method call with arguments resolves return types
// feature: completion
// Adapted from phpactor WorseClassMemberCompletorTest 'chained method call with arguments'
// expect: goodbye(
---
<?php

class BarBar {
    public function hello($one, $two): Foobar {}
}

class Foobar {
    public function goodbye(): BarBar {}
}

$foobar = (new Foobar())
    ->goodbye()
    ->hello('one', 'two')
    -><>