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.