From: Siebrand Mazeland Date: Sat, 23 Nov 2013 18:49:06 +0000 (+0100) Subject: Update documentation of Status X-Git-Tag: 1.31.0-rc.0~17913^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=216b90b497720e847872090967428dcc54a482ce;p=lhc%2Fweb%2Fwiklou.git Update documentation of Status Change-Id: Ib50321b36c0e9595945037ecfd8bb1e7fe0e86b0 --- 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; /**