mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 10:57:08 +01:00
ffe7874906
* 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
24 lines
371 B
PHP
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;
|
|
}
|
|
}
|