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

18 lines
397 B
PHP
Raw Normal View History

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