From f2ae59ef5153314025e0d8afd4851d1bd87a64da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20M=C3=AD=C5=A1ek?= Date: Thu, 9 May 2024 20:57:20 +0200 Subject: [PATCH] ClrEvent.PropertyType (almost unused tho) --- src/Peachpie.Runtime/Reflection/PhpPropertyInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Peachpie.Runtime/Reflection/PhpPropertyInfo.cs b/src/Peachpie.Runtime/Reflection/PhpPropertyInfo.cs index 934211f3ad..38beda336a 100644 --- a/src/Peachpie.Runtime/Reflection/PhpPropertyInfo.cs +++ b/src/Peachpie.Runtime/Reflection/PhpPropertyInfo.cs @@ -399,7 +399,7 @@ public override FieldAttributes Attributes public override string PropertyName => Event.Name; - public override Type PropertyType => typeof(PhpValue); + public override Type PropertyType => ConstructedClrEventType; public override PhpValue GetValue(Context ctx, object instance) {