Update documentation of Status
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 23 Nov 2013 18:49:06 +0000 (19:49 +0100)
committerSiebrand <siebrand@wikimedia.org>
Sat, 23 Nov 2013 18:51:16 +0000 (18:51 +0000)
Change-Id: Ib50321b36c0e9595945037ecfd8bb1e7fe0e86b0

includes/Status.php

index dc0bae0..5f5ca74 100644 (file)
  * 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;
 
        /**