mirror of
https://github.com/danog/psalm.git
synced 2025-01-10 23:18:40 +01:00
22 lines
395 B
PHP
22 lines
395 B
PHP
|
<?php
|
||
|
namespace Psalm\Issue;
|
||
|
|
||
|
use Psalm\CodeLocation;
|
||
|
|
||
|
abstract class ClassConstantIssue extends CodeIssue
|
||
|
{
|
||
|
/**
|
||
|
* @var string
|
||
|
*/
|
||
|
public $const_id;
|
||
|
|
||
|
public function __construct(
|
||
|
string $message,
|
||
|
CodeLocation $code_location,
|
||
|
string $const_id
|
||
|
) {
|
||
|
parent::__construct($message, $code_location);
|
||
|
$this->const_id = $const_id;
|
||
|
}
|
||
|
}
|