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

90 lines
1.3 KiB
PHP
Raw Normal View History

<?php
namespace Psalm\Storage;
use Psalm\CodeLocation;
use Psalm\FunctionLikeParameter;
use Psalm\Type;
class FunctionLikeStorage
{
/**
* @var CodeLocation|null
*/
public $location;
/**
* @var array<int, FunctionLikeParameter>
*/
public $params = [];
/**
* @var array<string, Type\Union>
*/
public $param_types = [];
/**
* @var string
*/
public $namespace;
/**
* @var Type\Union|null
*/
public $return_type;
/**
* @var CodeLocation|null
*/
public $return_type_location;
/**
* @var string
*/
public $cased_name;
/**
* @var array<int, string>
*/
public $suppressed_issues = [];
/**
* @var bool
*/
public $deprecated;
/**
* @var bool
*/
public $variadic;
/**
* @var int
*/
public $required_param_count;
/**
* @var array<string, Type\Union>
*/
public $defined_constants = [];
2017-02-10 02:35:17 +01:00
/**
* @var array<string, string>|null
*/
public $template_types;
/**
* @var array<int, string>|null
*/
public $template_typeof_params;
/**
* @var bool
*/
public $has_template_return_type;
/**
2017-02-28 00:24:20 +01:00
* @var array<string, array<int, CodeLocation>>|null
*/
public $referencing_locations;
}