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