2017-05-25 07:32:34 +02:00
|
|
|
<?php
|
2018-11-06 03:57:36 +01:00
|
|
|
namespace Psalm\Internal\Scanner;
|
2018-05-12 00:35:02 +02:00
|
|
|
|
|
|
|
use Psalm\Type;
|
2017-05-25 07:32:34 +02:00
|
|
|
|
|
|
|
class VarDocblockComment
|
|
|
|
{
|
|
|
|
/**
|
2018-01-02 02:04:03 +01:00
|
|
|
* @var Type\Union
|
2017-05-25 07:32:34 +02:00
|
|
|
*/
|
|
|
|
public $type;
|
|
|
|
|
2018-01-02 02:04:03 +01:00
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $original_type;
|
|
|
|
|
2017-05-25 07:32:34 +02:00
|
|
|
/**
|
|
|
|
* @var string|null
|
|
|
|
*/
|
|
|
|
public $var_id = null;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var int|null
|
|
|
|
*/
|
|
|
|
public $line_number;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Whether or not the function is deprecated
|
2017-05-27 02:16:18 +02:00
|
|
|
*
|
|
|
|
* @var bool
|
2017-05-25 07:32:34 +02:00
|
|
|
*/
|
|
|
|
public $deprecated = false;
|
|
|
|
}
|