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 from static method with arguments resolves return type
// feature: completion
// Adapted from phpactor WorseClassMemberCompletorTest 'chained static method call with arguments'
// expect: goodbye(
---
<?php

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

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

    public static function create(): BarBar {}
}

Foobar::create()
    ->hello('one', 'two')
    -><>