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

71 lines
1008 B
PHP
Raw Normal View History

<?php
namespace Psalm\Storage;
2017-01-07 20:35:07 +01:00
use PhpParser;
use Psalm\Type;
use Psalm\CodeLocation;
use Psalm\FunctionLikeParameter;
class FunctionLikeStorage
{
/**
* @var string
*/
public $file_name;
/**
* @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 = [];
}