Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/97324


Change subject: Update documentation of Status
......................................................................

Update documentation of Status

Change-Id: Ib50321b36c0e9595945037ecfd8bb1e7fe0e86b0
---
M includes/Status.php
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/24/97324/1

diff --git a/includes/Status.php b/includes/Status.php
index dc0bae0..5f5ca74 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;
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/97324
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib50321b36c0e9595945037ecfd8bb1e7fe0e86b0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to