diff --git a/scripts/translation/libqa/ArgvParser.php b/scripts/translation/libqa/ArgvParser.php index 98bc9584c6..2f30e4b751 100644 --- a/scripts/translation/libqa/ArgvParser.php +++ b/scripts/translation/libqa/ArgvParser.php @@ -39,7 +39,7 @@ public function use( string $arg ) : void throw new Exception( "Unused '$arg' not found." ); } - public function consume( string $equals = null , string $prefix = null , int $position = -1 ) : string|null + public function consume( ?string $equals = null , ?string $prefix = null , int $position = -1 ) : string|null { $args = $this->argv; foreach ( $args as $pos => $arg )