emacs-php / emacs-php/php-mode

The last argument of the method is not highlighted

Open
#744 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
602
Forks
117
Avg merge
12h 54m
Merged PRs (30d)
3

Description

## About

- The highlighting of the last argument of the method is something wrong

```php
class Foo
{
// 'DateTime' is not highlighting
public function test(DateTime $a): array
{
return [$a];
}
}
```

## Screenshot

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

## versions

```lisp
(php-mode-version)
"PHP Mode v1.24.3-non-vcs"
```

```lisp
(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"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.