mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(php): parameter and operator touch-ups
This commit is contained in:
parent
876111c8df
commit
28a914eb57
3 changed files with 11 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
function b(int $a, string $b): Foo\Dog {}
|
||||
// ^^^ @type.builtin
|
||||
// ^^ @variable
|
||||
// ^^ @variable.parameter
|
||||
// ^^^^^^ @type.builtin
|
||||
// ^^^ @module
|
||||
// ^^^ @type
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
class A {
|
||||
public function foo(self $a): self {
|
||||
// ^ @variable
|
||||
// ^ @variable.parameter
|
||||
new self();
|
||||
// ^^^^ @constructor
|
||||
new static();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue