X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2FHttpStatus.php;h=4b14160501826a8c944029370dc381c7d5f8ae22;hb=2b5e59fad1c9a501a189936028275f44b14147b0;hp=7e652162b240a00ecfab8794e8af85a3e9c14faa;hpb=3f59cb9f3a53ad28f8a95fe299c5de6abd24b453;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/HttpStatus.php b/includes/libs/HttpStatus.php index 7e652162b2..4b14160501 100644 --- a/includes/libs/HttpStatus.php +++ b/includes/libs/HttpStatus.php @@ -84,7 +84,7 @@ class HttpStatus { 507 => 'Insufficient Storage', 511 => 'Network Authentication Required', ]; - return isset( $statusMessage[$code] ) ? $statusMessage[$code] : null; + return $statusMessage[$code] ?? null; } /**