mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 02:47:02 +01:00
25 lines
514 B
PHP
25 lines
514 B
PHP
<?php
|
|
namespace Psalm\Issue;
|
|
|
|
abstract class MethodIssue extends CodeIssue
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $method_id;
|
|
|
|
/**
|
|
* @param string $message
|
|
* @param \Psalm\CodeLocation $code_location
|
|
* @param string $method_id
|
|
*/
|
|
public function __construct(
|
|
$message,
|
|
\Psalm\CodeLocation $code_location,
|
|
$method_id
|
|
) {
|
|
parent::__construct($message, $code_location);
|
|
$this->method_id = strtolower($method_id);
|
|
}
|
|
}
|