mirror of
https://github.com/danog/psalm.git
synced 2024-12-14 02:07:37 +01:00
8c7423505a
* add native param types * redundant phpdoc * add more param types and adds "?" to nullable types * remove redundant phpdoc * add more param types and remove redundant phpdoc * add more param types and remove redundant phpdoc
22 lines
412 B
PHP
22 lines
412 B
PHP
<?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);
|
|
}
|
|
}
|