1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-10 15:09:04 +01:00
psalm/src/Psalm/Internal/Analyzer/Statements/Expression/Assignment/AssignedProperty.php

28 lines
492 B
PHP
Raw Normal View History

<?php
namespace Psalm\Internal\Analyzer\Statements\Expression\Assignment;
2021-12-13 16:28:14 +01:00
use Psalm\Type\Union;
2022-01-03 07:55:32 +01:00
/**
* @internal
*/
class AssignedProperty
{
2022-12-14 01:52:54 +01:00
public Union $property_type;
2022-12-14 01:52:54 +01:00
public string $id;
2022-12-14 01:52:54 +01:00
public Union $assignment_type;
public function __construct(
2021-12-13 16:28:14 +01:00
Union $property_type,
string $id,
2021-12-13 16:28:14 +01:00
Union $assignment_type
) {
$this->property_type = $property_type;
$this->id = $id;
$this->assignment_type = $assignment_type;
}
}