X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FMaintenance.php;h=44ce9a5d186a2ec2cf09311e14f9021577b44c79;hb=63f1b4ee690d7ea2d40c7e0873a24a4cb5bd60ff;hp=c88a1a02044353dadff369f7c20380fece69532c;hpb=aac6b26c0bafc81287bb042304f1d346da94dc89;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index c88a1a0204..44ce9a5d18 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -358,7 +358,7 @@ abstract class Maintenance { wfDeprecated( __METHOD__ . ' without an $argId', '1.33' ); } - return $this->hasArg( $argId ) ? $this->mArgs[$argId] : $default; + return $this->mArgs[$argId] ?? $default; } /**