fix(php): parameter and operator touch-ups

This commit is contained in:
Riley Bruins 2024-04-23 10:52:01 -07:00 committed by Christian Clason
parent 876111c8df
commit 28a914eb57
3 changed files with 11 additions and 7 deletions

View file

@ -2,7 +2,7 @@
function b(int $a, string $b): Foo\Dog {}
// ^^^ @type.builtin
// ^^ @variable
// ^^ @variable.parameter
// ^^^^^^ @type.builtin
// ^^^ @module
// ^^^ @type

View file

@ -2,7 +2,7 @@
class A {
public function foo(self $a): self {
// ^ @variable
// ^ @variable.parameter
new self();
// ^^^^ @constructor
new static();