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(
75617561 zend_attribute * delayed_target_validation = NULL ;
75627562 if (target == ZEND_ATTRIBUTE_TARGET_PARAMETER ) {
75637563 ZEND_ASSERT (offset >= 1 );
7564- // zend_get_parameter_attribute_str will add 1 too
7564+ /* zend_get_parameter_attribute_str will add 1 too */
75657565 delayed_target_validation = zend_get_parameter_attribute_str (
75667566 * attributes ,
75677567 "delayedtargetvalidation" ,
@@ -7600,7 +7600,7 @@ static void zend_compile_attributes(
76007600 }
76017601 }
76027602
7603- // Validators are not run if the target is already invalid
7603+ /* Validators are not run if the target is already invalid */
76047604 if (run_validator && config -> validator != NULL ) {
76057605 zend_string * error = config -> validator (attr , target , CG (active_class_entry ));
76067606 if (error != NULL ) {
Original file line number Diff line number Diff line change @@ -7358,9 +7358,9 @@ ZEND_METHOD(ReflectionAttribute, newInstance)
73587358 /* Delayed validation errors should only be set for internal attributes. */
73597359 ZEND_ASSERT (ce -> type == ZEND_INTERNAL_CLASS );
73607360 /* 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. */
73647364#if ZEND_DEBUG
73657365 zend_attribute * delayed_target_validation = zend_get_attribute_str (
73667366 attr -> attributes ,
You can’t perform that action at this time.
0 commit comments