File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7561,7 +7561,7 @@ static void zend_compile_attributes(
7561
7561
zend_attribute * delayed_target_validation = NULL ;
7562
7562
if (target == ZEND_ATTRIBUTE_TARGET_PARAMETER ) {
7563
7563
ZEND_ASSERT (offset >= 1 );
7564
- // zend_get_parameter_attribute_str will add 1 too
7564
+ /* zend_get_parameter_attribute_str will add 1 too */
7565
7565
delayed_target_validation = zend_get_parameter_attribute_str (
7566
7566
* attributes ,
7567
7567
"delayedtargetvalidation" ,
@@ -7600,7 +7600,7 @@ static void zend_compile_attributes(
7600
7600
}
7601
7601
}
7602
7602
7603
- // Validators are not run if the target is already invalid
7603
+ /* Validators are not run if the target is already invalid */
7604
7604
if (run_validator && config -> validator != NULL ) {
7605
7605
zend_string * error = config -> validator (attr , target , CG (active_class_entry ));
7606
7606
if (error != NULL ) {
Original file line number Diff line number Diff line change @@ -7358,9 +7358,9 @@ ZEND_METHOD(ReflectionAttribute, newInstance)
7358
7358
/* Delayed validation errors should only be set for internal attributes. */
7359
7359
ZEND_ASSERT (ce -> type == ZEND_INTERNAL_CLASS );
7360
7360
/* Delayed validation errors should only be set when
7361
- * #[\DelayedTargetValidation] is used. Searching for the attribute is
7362
- * more expensive than just an assertion and so we don't worry about it
7363
- * for non-debug builds. See discussion on GH-18817. */
7361
+ * #[\DelayedTargetValidation] is used. Searching for the attribute is
7362
+ * more expensive than just an assertion and so we don't worry about it
7363
+ * for non-debug builds. See discussion on GH-18817. */
7364
7364
#if ZEND_DEBUG
7365
7365
zend_attribute * delayed_target_validation = zend_get_attribute_str (
7366
7366
attr -> attributes ,
You can’t perform that action at this time.
0 commit comments