From 8326e331344926c21a9a625fe3446b1a9c033126 Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Wed, 2 Oct 2024 17:31:45 -0700 Subject: [PATCH] ext/reflection: fix some typos [skip ci] --- ext/reflection/php_reflection.c | 2 +- ext/reflection/tests/bug36434.phpt | 12 ++++++------ ext/reflection/tests/bug62384.phpt | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 4e9ccd5892a56..a94034d55afe1 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -6182,7 +6182,7 @@ static zend_result reflection_property_check_lazy_compatible(reflection_object * return SUCCESS; } -/* {{{ Set property value withtout triggering initializer while skipping hooks if any */ +/* {{{ Set property value without triggering initializer while skipping hooks if any */ ZEND_METHOD(ReflectionProperty, setRawValueWithoutLazyInitialization) { reflection_object *intern; diff --git a/ext/reflection/tests/bug36434.phpt b/ext/reflection/tests/bug36434.phpt index 04cdcbf01d782..3f4cc70c75540 100644 --- a/ext/reflection/tests/bug36434.phpt +++ b/ext/reflection/tests/bug36434.phpt @@ -1,16 +1,16 @@ --TEST-- -Reflection Bug #36434 (Properties from parent class fail to indetify their true origin) +Reflection Bug #36434 (Properties from parent class fail to identify their true origin) --FILE-- ancester; + return $this->ancestor; } } -class foo extends ancester +class foo extends ancestor { public $bar = "1"; function __construct() @@ -28,4 +28,4 @@ foreach ($r->GetProperties() as $p) ?> --EXPECT-- bar foo -ancester ancester +ancestor ancestor diff --git a/ext/reflection/tests/bug62384.phpt b/ext/reflection/tests/bug62384.phpt index 90a871fa2a733..cc717585b938d 100644 --- a/ext/reflection/tests/bug62384.phpt +++ b/ext/reflection/tests/bug62384.phpt @@ -1,5 +1,5 @@ --TEST-- -Bug #62384 (Attempting to invoke a Closure more than once causes segfaul) +Bug #62384 (Attempting to invoke a Closure more than once causes segfault) --FILE--