Skip to content

Commit c828160

Browse files
author
epriestley
committed
Minor, fix a constant in PhabricatorRepositoryEditor
See <phacility#554>
1 parent c63d92b commit c828160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/applications/repository/editor/PhabricatorRepositoryEditor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ protected function validateTransaction(
318318
$errors = parent::validateTransaction($object, $type, $xactions);
319319

320320
switch ($type) {
321-
case self::TYPE_CREDENTIAL:
321+
case PhabricatorRepositoryTransaction::TYPE_CREDENTIAL:
322322
$ok = PassphraseCredentialControl::validateTransactions(
323323
$this->getActor(),
324324
$xactions);

0 commit comments

Comments
 (0)