type = $type; $this->oldProperty = $oldProperty; $this->newProperty = $newProperty; } public function getObjectType() : \PHPStan\Type\ObjectType { return new \PHPStan\Type\ObjectType($this->type); } public function getOldProperty() : string { return $this->oldProperty; } public function getNewProperty() : string { return $this->newProperty; } }