mirror of
https://github.com/danog/psalm.git
synced 2025-01-09 06:28:36 +01:00
24 lines
477 B
PHP
24 lines
477 B
PHP
|
<?php
|
||
|
|
||
|
namespace Psalm\Internal\Taint;
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|