<?php

namespace Psalm\Issue;

use Psalm\CodeLocation;

final class RedundantCondition extends CodeIssue
{
    public const ERROR_LEVEL = 4;
    public const SHORTCODE = 122;

    public function __construct(string $message, CodeLocation $code_location, ?string $dupe_key)
    {
        parent::__construct($message, $code_location);
        $this->dupe_key = $dupe_key;
    }
}
