<?php

final class PhabricatorOwnersPackageTransaction
  extends PhabricatorModularTransaction {

  public function getApplicationName() {
    return 'owners';
  }

  public function getApplicationTransactionType() {
    return PhabricatorOwnersPackagePHIDType::TYPECONST;
  }

  public function getBaseTransactionClass() {
    return 'PhabricatorOwnersPackageTransactionType';
  }

}

<?php

final class PhabricatorOwnersPackageTransaction
  extends PhabricatorModularTransaction {

  public function getApplicationName() {
    return 'owners';
  }

  public function getApplicationTransactionType() {
    return PhabricatorOwnersPackagePHIDType::TYPECONST;
  }

  public function getBaseTransactionClass() {
    return 'PhabricatorOwnersPackageTransactionType';
  }

  public function getApplicationTransactionCommentObject() {
    return null;
  }

}

Fix an issue with attempting to index comments on packages
Fix an issue with attempting to index comments on packages

Summary: See rPcd14194a329788d5fff6365bcade278fd18f3612 for a similar change. Implement `getApplicationTransactionCommentObject()` to return `null` explicitly.

Test Plan: Ran `bin/search index --type ownerspackage`, got indexing after change.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18715
