1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-11 15:38:46 +01:00
psalm/src/Psalm/Internal/Scope/CaseScope.php

32 lines
467 B
PHP
Raw Normal View History

<?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;
2019-11-25 21:20:31 +01:00
public function __construct(Context $parent_context)
{
$this->parent_context = $parent_context;
}
public function __destruct()
{
$this->parent_context = null;
}
}