src/Exception/OAuthServerException.php
public static function invalidRequest($parameter, $hint = null, Throwable $previous = null)
    {
        $errorMessage = 'The request is missing a required parameter, includes an invalid parameter value, ' .
            'includes a parameter more than once, or is otherwise malformed.';
        $hint = ($hint === null) ? sprintf('Check the `%s` parameter', $parameter) : $hint;

        return new static($errorMessage, 3, 'invalid_request', 400, $hint, null, $previous);
    }
public static function invalidRequest($parameter, $hint = null, Throwable $previous = null)
    {
        $errorMessage = 'The request is missing a required parameter, includes an invalid parameter value, ' .
            'includes a parameter more than once, or is otherwise malformed.';
        $hint = ($hint === null) ? sprintf('Check the `%s` parameter', $parameter) : $hint;

        return new static($errorMessage, 3, 'invalid_request', 400, $hint, null, $previous);
    }
public static function invalidRequest ( $ parameter , $ hint = null , Throwable $ previous = null ) { $ errorMessage = 'The request is missing a required parameter, includes an invalid parameter value, ' . 'includes a parameter more than once, or is otherwise malformed.' ; $ hint = ( $ hint === null ) ? sprintf ( 'Check the `%s` parameter' , $ parameter ) : $ hint ; return new static ( $ errorMessage , 3 , 'invalid_request' , 400 , $ hint , null , $ previous ) ; }
Invalid request error.

@param string      $parameter The invalid parameter
@param null|string $hint
@param Throwable   $previous  Previous exception

@return static
Invalid request error .