From 3ba037fdbbd5510833470ca7eade261aa0dd7c68 Mon Sep 17 00:00:00 2001 From: Louis-Arnaud Catoire Date: Sun, 1 Feb 2026 21:48:11 +0100 Subject: [PATCH] Fix forward_static_call_array() can be used outside a class --- .../funchand/functions/forward-static-call-array.xml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/reference/funchand/functions/forward-static-call-array.xml b/reference/funchand/functions/forward-static-call-array.xml index 67f9bfbec829..6bb47e61eaa1 100644 --- a/reference/funchand/functions/forward-static-call-array.xml +++ b/reference/funchand/functions/forward-static-call-array.xml @@ -15,12 +15,10 @@ Calls a user defined function or method given by the callback - parameter. This function must be called within a method context, it can't be - used outside a class. - It uses the late static - binding. - All arguments of the forwarded method are passed as values, - and as an array, similarly to call_user_func_array. + parameter, with arguments passed as an array, similarly to + call_user_func_array. + When called from within a method context, it uses the + late static binding.