X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Flibs%2FStatusValue.php;h=4b381f8de10b244e179a7acba005c732771a943c;hb=64e7e7d760fc3e043f7e01a89cc3697869aaa93b;hp=16cb1ed1d301f7ed4c60bd12e8726a40eb9a5850;hpb=695d7c28fe7036e9988ce92908185ebc41238296;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/StatusValue.php b/includes/libs/StatusValue.php index 16cb1ed1d3..4b381f8de1 100644 --- a/includes/libs/StatusValue.php +++ b/includes/libs/StatusValue.php @@ -93,7 +93,7 @@ class StatusValue { * 1 => object(StatusValue) # The StatusValue with warning messages, only * ] * - * @return StatusValue[] + * @return static[] */ public function splitByErrorType() { $errorsOnlyStatusValue = clone $this; @@ -107,7 +107,7 @@ class StatusValue { } else { $errorsOnlyStatusValue->errors[] = $item; } - }; + } return [ $errorsOnlyStatusValue, $warningsOnlyStatusValue ]; }