oldClass = $oldClass; $this->oldConstant = $oldConstant; $this->newClass = $newClass; $this->newConstant = $newConstant; } public function getOldObjectType() : \PHPStan\Type\ObjectType { return new \PHPStan\Type\ObjectType($this->oldClass); } public function getOldConstant() : string { return $this->oldConstant; } public function getNewConstant() : string { return $this->newConstant; } public function getNewClass() : string { return $this->newClass; } }