Merge "Move up devunt's name to Developers"
[lhc/web/wiklou.git] / includes / libs / StatusValue.php
index 7f41f55..bff9abd 100644 (file)
@@ -58,7 +58,7 @@ class StatusValue {
         * Factory function for fatal errors
         *
         * @param string|MessageSpecifier $message Message key or object
-        * @return StatusValue
+        * @return static
         */
        public static function newFatal( $message /*, parameters...*/ ) {
                $params = func_get_args();
@@ -71,7 +71,7 @@ class StatusValue {
         * Factory function for good results
         *
         * @param mixed $value
-        * @return StatusValue
+        * @return static
         */
        public static function newGood( $value = null ) {
                $result = new static();
@@ -83,10 +83,10 @@ class StatusValue {
         * Splits this StatusValue object into two new StatusValue objects, one which contains only
         * the error messages, and one that contains the warnings, only. The returned array is
         * defined as:
-        * array(
-        *      0 => object(StatusValue) # the StatusValue with error messages, only
-        *      1 => object(StatusValue) # The StatusValue with warning messages, only
-        * )
+        * [
+        *     0 => object(StatusValue) # the StatusValue with error messages, only
+        *         1 => object(StatusValue) # The StatusValue with warning messages, only
+        * ]
         *
         * @return array
         */