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) {