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

61 lines
850 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;
}