emacs-php / php-mode

A powerful and flexible Emacs major mode for editing PHP scripts
GNU General Public License v3.0
583 stars 118 forks source link

The last argument of the method is not highlighted #744

Open suzuki opened 1 year ago

suzuki commented 1 year ago

About

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"