1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-10 23:18:40 +01:00
psalm/src/Psalm/Issue/VariableIssue.php

25 lines
429 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 VariableIssue extends CodeIssue
{
/**
* @var string
*/
public $var_name;
public function __construct(
string $message,
2021-12-03 20:11:20 +01:00
CodeLocation $code_location,
string $var_name
) {
parent::__construct($message, $code_location);
$this->var_name = strtolower($var_name);
}
}