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

25 lines
431 B
PHP

<?php
namespace Psalm\Issue;
use Psalm\CodeLocation;
use function strtolower;
abstract class MethodIssue extends CodeIssue
{
/**
* @var string
*/
public $method_id;
public function __construct(
string $message,
CodeLocation $code_location,
string $method_id
) {
parent::__construct($message, $code_location);
$this->method_id = strtolower($method_id);
}
}