mirror of
https://github.com/danog/psalm.git
synced 2025-01-08 05:58:38 +01:00
33 lines
568 B
PHP
33 lines
568 B
PHP
|
<?php
|
||
|
namespace Psalm\Internal\Analyzer\Statements\Expression\Assignment;
|
||
|
|
||
|
use Psalm\Type;
|
||
|
|
||
|
class AssignedProperty
|
||
|
{
|
||
|
/**
|
||
|
* @var Type\Union
|
||
|
*/
|
||
|
public $property_type;
|
||
|
|
||
|
/**
|
||
|
* @var string
|
||
|
*/
|
||
|
public $id;
|
||
|
|
||
|
/**
|
||
|
* @var Type\Union
|
||
|
*/
|
||
|
public $assignment_type;
|
||
|
|
||
|
public function __construct(
|
||
|
Type\Union $property_type,
|
||
|
string $id,
|
||
|
Type\Union $assignment_type
|
||
|
) {
|
||
|
$this->property_type = $property_type;
|
||
|
$this->id = $id;
|
||
|
$this->assignment_type = $assignment_type;
|
||
|
}
|
||
|
}
|