1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-09 06:28:36 +01:00
psalm/src/Psalm/Internal/Taint/Path.php

24 lines
477 B
PHP
Raw Normal View History

2020-06-22 08:10:03 +02:00
<?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;
}
}