Skip to content

Commit 27d00be

Browse files
Clean up _property_check_dynamic
1 parent e3c8e2d commit 27d00be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/reflection/php_reflection.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5921,7 +5921,7 @@ ZEND_METHOD(ReflectionProperty, isVirtual)
59215921
_property_check_flag(INTERNAL_FUNCTION_PARAM_PASSTHRU, ZEND_ACC_VIRTUAL);
59225922
}
59235923

5924-
static void _property_check_dynamic(INTERNAL_FUNCTION_PARAMETERS, bool dynamicTrue) /* {{{ */
5924+
static void _property_check_dynamic(INTERNAL_FUNCTION_PARAMETERS, bool dynamic_true)
59255925
{
59265926
reflection_object *intern;
59275927
property_reference *ref;
@@ -5930,8 +5930,8 @@ static void _property_check_dynamic(INTERNAL_FUNCTION_PARAMETERS, bool dynamicTr
59305930
RETURN_THROWS();
59315931
}
59325932
GET_REFLECTION_OBJECT_PTR(ref);
5933-
bool isDynamic = ref->prop == NULL;
5934-
RETURN_BOOL(dynamicTrue ? isDynamic : !isDynamic);
5933+
bool is_dynamic = ref->prop == NULL;
5934+
RETURN_BOOL(dynamic_true ? is_dynamic : !is_dynamic);
59355935
}
59365936

59375937
/* {{{ Returns whether this property is default (declared at compilation time). */

0 commit comments

Comments
 (0)