mirror of
https://github.com/danog/psalm.git
synced 2024-12-14 02:07:37 +01:00
47 lines
820 B
PHP
47 lines
820 B
PHP
<?php
|
|
namespace Psalm;
|
|
|
|
class FunctionDocblockComment
|
|
{
|
|
/**
|
|
* @var string|null
|
|
*/
|
|
public $return_type = null;
|
|
|
|
/**
|
|
* @var array<int, array{name:string, type:string}>
|
|
*/
|
|
public $params = [];
|
|
|
|
/**
|
|
* Whether or not the function is deprecated
|
|
* @var boolean
|
|
*/
|
|
public $deprecated = false;
|
|
|
|
/**
|
|
* Whether or not the function uses get_args
|
|
*
|
|
* @var boolean
|
|
*/
|
|
public $variadic = false;
|
|
|
|
/**
|
|
* @var array<int, string>
|
|
*/
|
|
public $suppress = [];
|
|
|
|
/** @var int */
|
|
public $return_type_line_number;
|
|
|
|
/**
|
|
* @var array<int, array<int, string>>
|
|
*/
|
|
public $template_types = [];
|
|
|
|
/**
|
|
* @var array<int, array{template_type: string, param_name: string}>
|
|
*/
|
|
public $template_typeofs = [];
|
|
}
|