1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-05 21:19:03 +01:00
psalm/src/Psalm/Issue/FunctionIssue.php

25 lines
441 B
PHP
Raw Normal View History

<?php
namespace Psalm\Issue;
2021-12-03 20:11:20 +01:00
use Psalm\CodeLocation;
use function strtolower;
abstract class FunctionIssue extends CodeIssue
{
/**
* @var string
*/
public $function_id;
public function __construct(
string $message,
2021-12-03 20:11:20 +01:00
CodeLocation $code_location,
string $function_id
) {
parent::__construct($message, $code_location);
$this->function_id = strtolower($function_id);
}
}