1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-10 15:09:04 +01:00
psalm/src/Psalm/Issue/PropertyNotSetInConstructor.php
2021-12-03 20:11:20 +01:00

20 lines
429 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;
}
}