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

21 lines
430 B
PHP
Raw Normal View History

<?php
namespace Psalm\Issue;
2021-12-03 20:11:20 +01:00
use Psalm\CodeLocation;
class PropertyNotSetInConstructor extends PropertyIssue
{
2020-09-20 18:54:46 +02:00
public const ERROR_LEVEL = 2;
public const SHORTCODE = 74;
2020-09-11 04:44:35 +02:00
public function __construct(
string $message,
2021-12-03 20:11:20 +01:00
CodeLocation $code_location,
2020-09-11 04:44:35 +02:00
string $property_id
) {
parent::__construct($message, $code_location, $property_id);
$this->dupe_key = $property_id;
}
}