mirror of
https://github.com/danog/psalm.git
synced 2025-01-09 22:49:31 +01:00
27 lines
515 B
PHP
27 lines
515 B
PHP
<?php
|
|
|
|
namespace Psalm\Internal\ControlFlow;
|
|
|
|
/**
|
|
* @psalm-immutable
|
|
*/
|
|
class Path
|
|
{
|
|
public $type;
|
|
|
|
public $unescaped_taints;
|
|
|
|
public $escaped_taints;
|
|
|
|
/**
|
|
* @param ?array<string> $unescaped_taints
|
|
* @param ?array<string> $escaped_taints
|
|
*/
|
|
public function __construct(string $type, ?array $unescaped_taints, ?array $escaped_taints)
|
|
{
|
|
$this->type = $type;
|
|
$this->unescaped_taints = $unescaped_taints;
|
|
$this->escaped_taints = $escaped_taints;
|
|
}
|
|
}
|