1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 10:17:33 +01:00
psalm/src/Psalm/Issue/MethodIssue.php

22 lines
412 B
PHP
Raw Normal View History

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