oldType = $oldType; $this->newType = $newType; } public function getOldType() : Type { return $this->oldType; } public function getNewType() : Type { return $this->newType; } }