1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-10 06:58:41 +01:00
psalm/src/Psalm/Issue/PropertyNotSetInConstructor.php
2022-02-06 00:27:18 +02:00

21 lines
436 B
PHP

<?php
namespace Psalm\Issue;
use Psalm\CodeLocation;
final 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;
}
}