We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee4a2b7 commit 4038389Copy full SHA for 4038389
ext/reflection/php_reflection.c
@@ -7715,7 +7715,7 @@ ZEND_METHOD(ReflectionAttribute, getCurrent)
7715
return_value
7716
);
7717
return;
7718
- case ZEND_ATTRIBUTE_TARGET_PARAMETER:
+ case ZEND_ATTRIBUTE_TARGET_PARAMETER: {
7719
zend_function *target_function = attr->target_data.target_parameter.target_function;
7720
reflection_parameter_factory(
7721
_copy_function(target_function),
@@ -7726,6 +7726,7 @@ ZEND_METHOD(ReflectionAttribute, getCurrent)
7726
7727
7728
7729
+ }
7730
case ZEND_ATTRIBUTE_TARGET_CONST:
7731
object_init_ex(return_value, reflection_constant_ptr);
7732
reflection_object *intern = Z_REFLECTION_P(return_value);
0 commit comments