1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 18:36:58 +01:00
psalm/src/Psalm/Internal/Scope/CaseScope.php
2021-09-25 17:28:51 +02:00

32 lines
467 B
PHP

<?php
namespace Psalm\Internal\Scope;
use Psalm\Context;
use Psalm\Type;
/**
* @internal
*/
class CaseScope
{
/**
* @var Context
*/
public $parent_context;
/**
* @var array<string, Type\Union>|null
*/
public $break_vars;
public function __construct(Context $parent_context)
{
$this->parent_context = $parent_context;
}
public function __destruct()
{
unset($this->parent_context);
}
}