1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 10:57:08 +01:00
psalm/src/Psalm/Internal/Scope/FinallyScope.php
orklah ffe7874906
Misc improvements (#4314)
* extract the operation out of the loop when possible

* remove unnecessary interfaces when already inherited in parent

* simplify expressions

* avoid using alias functions

* redundant phpdoc

* unused imports
2020-10-15 13:23:35 -04:00

24 lines
371 B
PHP

<?php
namespace Psalm\Internal\Scope;
use Psalm\Type;
/**
* @internal
*/
class FinallyScope
{
/**
* @var array<string, Type\Union>
*/
public $vars_in_scope = [];
/**
* @param array<string, Type\Union> $vars_in_scope
*/
public function __construct(array $vars_in_scope)
{
$this->vars_in_scope = $vars_in_scope;
}
}