Spatie\LinkChecker\Reporters\BaseReporter::isSuccessOrRedirect PHP Method

isSuccessOrRedirect() protected method

Determine if the statuscode concerns a successful or redirect response.
protected isSuccessOrRedirect ( integer $statusCode ) : boolean
$statusCode integer
return boolean
    protected function isSuccessOrRedirect($statusCode)
    {
        return starts_with($statusCode, ['2', '3']);
    }