1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 02:47:02 +01:00
psalm/src/Psalm/FunctionDocblockComment.php

54 lines
987 B
PHP
Raw Normal View History

2016-11-13 05:59:31 +01:00
<?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;
/**
* Whether or not to ignore the nullability of this function's return type
*
* @var boolean
*/
public $ignore_nullable_return = false;
2016-11-13 05:59:31 +01:00
/**
* @var array<int, string>
2016-11-13 05:59:31 +01:00
*/
public $suppress = [];
/** @var int */
public $return_type_line_number;
2017-02-10 02:35:17 +01:00
/**
* @var array<int, array<int, string>>
*/
public $template_types = [];
/**
* @var array<int, array{template_type: string, param_name: string}>
*/
public $template_typeofs = [];
2016-11-13 05:59:31 +01:00
}