mirror of
https://github.com/danog/psalm.git
synced 2025-01-10 15:09:04 +01:00
21 lines
430 B
PHP
21 lines
430 B
PHP
<?php
|
|
|
|
namespace Psalm\Issue;
|
|
|
|
use Psalm\CodeLocation;
|
|
|
|
class PropertyNotSetInConstructor extends PropertyIssue
|
|
{
|
|
public const ERROR_LEVEL = 2;
|
|
public const SHORTCODE = 74;
|
|
|
|
public function __construct(
|
|
string $message,
|
|
CodeLocation $code_location,
|
|
string $property_id
|
|
) {
|
|
parent::__construct($message, $code_location, $property_id);
|
|
$this->dupe_key = $property_id;
|
|
}
|
|
}
|