1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-10 15:09:04 +01:00
psalm/src/Psalm/Issue/MissingConstructor.php

17 lines
371 B
PHP
Raw Normal View History

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