function DiffElem::__construct
Same name in this branch
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Internal/DiffElem.php \PhpParser\Internal\DiffElem::__construct()
*
Parameters
self::TYPE_* $type: * @param mixed $old Is null for add operations * @param mixed $new Is null for remove operations
File
-
vendor/
phpstan/ phpdoc-parser/ src/ Printer/ DiffElem.php, line 37
Class
Namespace
PHPStan\PhpDocParser\PrinterCode
public function __construct(int $type, $old, $new) {
$this->type = $type;
$this->old = $old;
$this->new = $new;
}