X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FStatus.php;h=28af7f539f61a1fe321cc9c7b8a9058ab4cc182e;hb=f62bcacbc52cb40997603a01148ae5d4f596a902;hp=fbb5daae20ca619564000fd80923db7669144858;hpb=86e80813d6ab92b1718be3616e5f75e51cbffdcf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Status.php b/includes/Status.php index fbb5daae20..28af7f539f 100644 --- a/includes/Status.php +++ b/includes/Status.php @@ -281,7 +281,7 @@ class Status { * Otherwise, if its an array, just use the first value as the * message and the remaining items as the params. * - * @return string + * @return Message */ protected function getErrorMessage( $error ) { if ( is_array( $error ) ) { @@ -316,9 +316,9 @@ class Status { } /** - * Return an array with the wikitext for each item in the array. + * Return an array with a Message object for each error. * @param array $errors - * @return array + * @return Message[] */ protected function getErrorMessageArray( $errors ) { return array_map( array( $this, 'getErrorMessage' ), $errors );