X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2FStatusValue.php;h=1d23f9d368a79d1fd08988ced53e0b35093fbc70;hb=83691ed06e8ec7ef1f6f7290b8c5c175ab9f4928;hp=b4206a21fc953cc9c015bb486b42dd107cdb10cd;hpb=96906168cac0e9a7748511b48c369cf22c8406d5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/StatusValue.php b/includes/libs/StatusValue.php index b4206a21fc..1d23f9d368 100644 --- a/includes/libs/StatusValue.php +++ b/includes/libs/StatusValue.php @@ -58,7 +58,7 @@ class StatusValue { * Factory function for fatal errors * * @param string|MessageSpecifier $message Message key or object - * @return Status + * @return StatusValue */ 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 Status + * @return StatusValue */ public static function newGood( $value = null ) { $result = new static(); @@ -197,7 +197,9 @@ class StatusValue { /** * Returns a list of status messages of the given type * - * Each entry is a map of (message:string or MessageSpecifier,params:array)) + * Each entry is a map of: + * - message: string message key or MessageSpecifier + * - params: array list of parameters * * @param string $type * @return array