diff --git a/types.d.ts b/types.d.ts index a5ad9c93..4386c2b1 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 */