src/rehyved/Http/HttpStatus.php
public static function isClientError(int $statusCode): bool
    {
        return ($statusCode >= HttpStatus::CLIENT_ERROR) && ($statusCode < HttpStatus::SERVER_ERROR);
    }
public static function isClientError(int $statusCode): bool
    {
        return ($statusCode >= HttpStatus::CLIENT_ERROR) && ($statusCode < HttpStatus::SERVER_ERROR);
    }
public static function isClientError ( int $ statusCode ) : bool { return ( $ statusCode >= HttpStatus :: CLIENT_ERROR ) && ( $ statusCode < HttpStatus :: SERVER_ERROR ) ; }
Checks if the provided status code falls in the Client error range of HTTP statuses
@param int $statusCode the status code to check
@return bool TRUE if it falls into the Client error range, FALSE if not
Checks if the provided status code falls in the Client error range of HTTP statuses