X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2FHttpStatus.php;h=4b14160501826a8c944029370dc381c7d5f8ae22;hb=a8caf025649a21f3a65271a3ea764a89e11bc6dc;hp=7e652162b240a00ecfab8794e8af85a3e9c14faa;hpb=587d08c5a626f8195def9f82ee83e17c85824db8;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; } /**