phpantom_lsp 0.7.0

Fast PHP language server with deep type intelligence. Generics, Laravel, PHPStan annotations. Ready in an instant.
Documentation
// test: enum from() method return type chains to instance methods
// feature: completion
// Adapted from phpactor enum/gh-2220.test

// expect: foo(
---
<?php

interface HasFoo
{
    public function foo(): string;
}

enum Status: string implements HasFoo
{
    case ACTIVE = 'active';

    public function foo(): string
    {
        return 'bar';
    }
}

Status::from('active')-><>