From 6b746853a22930dd2e1b372b6db4e80466497da9 Mon Sep 17 00:00:00 2001 From: Thomas Genin Date: Sun, 1 Dec 2024 20:48:48 -0800 Subject: [PATCH] types --- types.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/types.d.ts b/types.d.ts index a5ad9c93f..4386c2b19 100644 --- a/types.d.ts +++ b/types.d.ts @@ -777,6 +777,16 @@ declare module "php-parser" { type: Identifier | Identifier[] | null; attrGroups: AttrGroup[]; } + /** + * Defines a class property hook getter & setter + */ + class PropertyHook extends Statement { + name: string; + isFinal: boolean; + byref: boolean; + parameter: Parameter | null; + body: Block | Statement; + } /** * Lookup to an object property */