mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 01:37:23 +01:00
136d48f77c
In combination with `@psalm-seal-properties`, this can be used to have in-depth checking of magic properties.
33 lines
558 B
PHP
33 lines
558 B
PHP
<?php
|
|
namespace Psalm;
|
|
|
|
class ClassLikeDocblockComment
|
|
{
|
|
/**
|
|
* Whether or not the class is deprecated
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $deprecated = false;
|
|
|
|
/**
|
|
* @var array<int, array<int, string>>
|
|
*/
|
|
public $template_types = [];
|
|
|
|
/**
|
|
* @var array<int, array{name:string, type:string, tag:string, line_number:int}>
|
|
*/
|
|
public $properties = [];
|
|
|
|
/**
|
|
* @var bool
|
|
*/
|
|
public $sealed_properties = false;
|
|
|
|
/**
|
|
* @var array<int, string>
|
|
*/
|
|
public $suppressed_issues = [];
|
|
}
|