mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 02:47:02 +01:00
15 lines
354 B
PHP
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;
|
|
}
|
|
}
|