X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fapi%2FApiBlock.php;h=8f4028310a790697988b9226bd026f600c8e0c7f;hp=f4aea986f0fedf5886975a0c47a7dac58820779f;hb=6e93b3bfaa0bfd78c05f5025d53ae558fae7a824;hpb=12ff4dec05ff8bb1a1910bf6745155b93e1912b5 diff --git a/includes/api/ApiBlock.php b/includes/api/ApiBlock.php index f4aea986f0..8f4028310a 100644 --- a/includes/api/ApiBlock.php +++ b/includes/api/ApiBlock.php @@ -124,8 +124,8 @@ class ApiBlock extends ApiBase { $res['id'] = $block->getId(); } else { # should be unreachable - $res['expiry'] = ''; - $res['id'] = ''; + $res['expiry'] = ''; // @codeCoverageIgnore + $res['id'] = ''; // @codeCoverageIgnore } $res['reason'] = $params['reason'];