Skip to content

Class constants not recognized #666

@taisph

Description

@taisph

Response is recognized and Ctrl clickable, HTTP_ACCEPTED is not. But it is oddly counted as a reference in the Response class.

<?php

declare(strict_types=1);

namespace Foo;

use Symfony\Component\HttpFoundation\Response;

class Bar
{
    public function doFoo(): int
    {
        return Response::HTTP_ACCEPTED;
    }
}

Extension version: v1.51.16045

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions