1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-07 05:28:37 +01:00
psalm/src/Psalm/Internal/Scanner/VarDocblockComment.php

69 lines
988 B
PHP

<?php
namespace Psalm\Internal\Scanner;
use Psalm\Type;
/**
* @internal
*/
class VarDocblockComment
{
/**
* @var ?Type\Union
*/
public $type;
/**
* @var ?string
*/
public $original_type;
/**
* @var string|null
*/
public $var_id = null;
/**
* @var int|null
*/
public $line_number;
/**
* @var int|null
*/
public $type_start;
/**
* @var int|null
*/
public $type_end;
/**
* Whether or not the property is deprecated
*
* @var bool
*/
public $deprecated = false;
/**
* Whether or not the property is internal
*
* @var bool
*/
public $internal = false;
/**
* If set, the property is internal to the given namespace.
*
* @var null|string
*/
public $psalm_internal = null;
/**
* Whether or not the property is readonly
*
* @var bool
*/
public $readonly = false;
}