class = $class; $this->oldMethod = $oldMethod; $this->newMethod = $newMethod; } public function getClass() : string { return $this->class; } public function getObjectType() : \PHPStan\Type\ObjectType { return new \PHPStan\Type\ObjectType($this->class); } public function getOldMethod() : string { return $this->oldMethod; } public function getNewMethod() : string { return $this->newMethod; } }