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

33 lines
498 B
PHP
Raw Normal View History

<?php
namespace Psalm\Storage;
use Psalm\CodeLocation;
2022-02-06 22:09:03 +01:00
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;
}
}