mirror of
https://github.com/danog/psalm.git
synced 2025-01-10 15:09:04 +01:00
33 lines
498 B
PHP
33 lines
498 B
PHP
<?php
|
|
|
|
namespace Psalm\Storage;
|
|
|
|
use Psalm\CodeLocation;
|
|
|
|
final class EnumCaseStorage
|
|
{
|
|
/**
|
|
* @var int|string|null
|
|
*/
|
|
public $value;
|
|
|
|
/** @var CodeLocation */
|
|
public $stmt_location;
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $deprecated = false;
|
|
|
|
/**
|
|
* @param int|string|null $value
|
|
*/
|
|
public function __construct(
|
|
$value,
|
|
CodeLocation $location
|
|
) {
|
|
$this->value = $value;
|
|
$this->stmt_location = $location;
|
|
}
|
|
}
|