From 0502752eb7ec0a9a61727fbdae226d54671c4fa2 Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Thu, 10 May 2012 15:54:52 -0700 Subject: Documented that results will be null if no results are returned in ElggBatch. --- engine/classes/ElggBatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/classes/ElggBatch.php b/engine/classes/ElggBatch.php index 0cb13eb32..c1a77a0d9 100644 --- a/engine/classes/ElggBatch.php +++ b/engine/classes/ElggBatch.php @@ -16,7 +16,7 @@ * * Results from the callback are stored in callbackResult. If the callback * returns only booleans, callbackResults will be the combined result of - * all calls. + * all calls. If no entities are processed, callbackResults will be null. * * If the callback returns anything else, callbackresult will be an indexed * array of whatever the callback returns. If returning error handling -- cgit v1.2.3