Skip to content

The last argument of the method is not highlighted #744

@suzuki

Description

@suzuki

About

  • The highlighting of the last argument of the method is something wrong
class Foo
{
    // 'DateTime' is not highlighting
    public function test(DateTime $a): array
    {
        return [$a];
    }
}

Screenshot

スクリーンショット 2023-04-27 10 09 28

versions

(php-mode-version)
"PHP Mode v1.24.3-non-vcs"
(emacs-version)
"GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin22.4.0, NS appkit-2299.50 Version 13.3.1 (Build 22E261))
 of 2023-04-26"

Metadata

Metadata

Assignees

No one assigned

    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