From 216b90b497720e847872090967428dcc54a482ce Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 23 Nov 2013 19:49:06 +0100 Subject: [PATCH] Update documentation of Status Change-Id: Ib50321b36c0e9595945037ecfd8bb1e7fe0e86b0 --- includes/Status.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/includes/Status.php b/includes/Status.php index dc0bae0957..5f5ca7497f 100644 --- a/includes/Status.php +++ b/includes/Status.php @@ -38,17 +38,27 @@ * so that a lack of error-handling will be explicit. */ class Status { + /** @var bool */ public $ok = true; + + /** @var mixed */ public $value; /** Counters for batch operations */ + /** @var int */ public $successCount = 0; + + /** @var int */ public $failCount = 0; /** Array to indicate which items of the batch operations were successful */ + /** @var array */ public $success = array(); + /** @var array */ public $errors = array(); + + /** @var callable */ public $cleanCallback = false; /** -- 2.20.1