Merge "Improve type hints to special page related classes"
[lhc/web/wiklou.git] / maintenance / Maintenance.php
index c88a1a0..44ce9a5 100644 (file)
@@ -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;
        }
 
        /**