1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 02:47:02 +01:00
psalm/src/Psalm/Issue/RedundantCondition.php
2020-09-20 12:54:46 -04:00

15 lines
354 B
PHP

<?php
namespace Psalm\Issue;
class RedundantCondition extends CodeIssue
{
public const ERROR_LEVEL = 4;
public const SHORTCODE = 122;
public function __construct(string $message, \Psalm\CodeLocation $code_location, ?string $dupe_key)
{
parent::__construct($message, $code_location);
$this->dupe_key = $dupe_key;
}
}