1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-05 20:48:45 +01:00
psalm/src/Psalm/Issue/RedundantCondition.php

15 lines
354 B
PHP
Raw Normal View History

<?php
namespace Psalm\Issue;
class RedundantCondition extends CodeIssue
{
2020-09-20 18:54:46 +02:00
public const ERROR_LEVEL = 4;
public const SHORTCODE = 122;
2020-09-11 04:44:35 +02:00
public function __construct(string $message, \Psalm\CodeLocation $code_location, ?string $dupe_key)
{
parent::__construct($message, $code_location);
$this->dupe_key = $dupe_key;
}
}