From f371eefaddedfb1ac2cb8551a908aa8460b4077e Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Wed, 13 Nov 2024 15:04:31 +0000 Subject: [PATCH] Suggestions from Arnaud Co-authored-by: Arnaud Le Blanc --- .../reflectionfunctionabstract/getclosurecalledclass.xml | 2 +- .../reflectionfunctionabstract/getclosurescopeclass.xml | 2 +- .../reflection/reflectionfunctionabstract/getclosurethis.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/reflection/reflectionfunctionabstract/getclosurecalledclass.xml b/reference/reflection/reflectionfunctionabstract/getclosurecalledclass.xml index 19a79bcab1f4..2eb5d5ebe4a2 100644 --- a/reference/reflection/reflectionfunctionabstract/getclosurecalledclass.xml +++ b/reference/reflection/reflectionfunctionabstract/getclosurecalledclass.xml @@ -28,7 +28,7 @@ Returns a ReflectionClass corresponding to the class represented by $this in the Closure. - If the function is not a closure or if there was no enclosing class &null; + If the function is not a closure or if it has global scope &null; is returned instead. diff --git a/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml b/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml index 98e160057b49..4353f317b9cf 100644 --- a/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml +++ b/reference/reflection/reflectionfunctionabstract/getclosurescopeclass.xml @@ -29,7 +29,7 @@ Returns a ReflectionClass corresponding to the class whose scope is being used inside the Closure. - If the function is not a closure or if there was no enclosing class &null; + If the function is not a closure or if it has global scope &null; is returned instead. diff --git a/reference/reflection/reflectionfunctionabstract/getclosurethis.xml b/reference/reflection/reflectionfunctionabstract/getclosurethis.xml index 171fbd69c7c7..1777432cccf5 100644 --- a/reference/reflection/reflectionfunctionabstract/getclosurethis.xml +++ b/reference/reflection/reflectionfunctionabstract/getclosurethis.xml @@ -28,7 +28,7 @@ Return the object instance represented by $this inside the Closure. - If the function is not a closure or if there was no enclosing class &null; + If the function is not a closure or if it has no $this &null; is returned instead.